diff options
author | Anatol Belski <ab@php.net> | 2016-10-27 02:40:30 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-27 02:42:30 +0200 |
commit | e586c7c61252a92da31d7aa5f5c883fb86c31352 (patch) | |
tree | 0b4247f790c62f09e9aa2414d1a74f38a16d8518 /sapi/phpdbg/phpdbg.c | |
parent | b9993c8b6c159c55515938dc09d25ed47ffe4649 (diff) | |
download | php-git-e586c7c61252a92da31d7aa5f5c883fb86c31352.tar.gz |
yet another uninitialized pointer
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index eb58b90a47..d2de0c2e30 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -121,6 +121,8 @@ static inline void php_phpdbg_globals_ctor(zend_phpdbg_globals *pg) /* {{{ */ pg->eol = PHPDBG_EOL_LF; pg->stdin_file = NULL; + + pg->cur_command = NULL; } /* }}} */ static PHP_MINIT_FUNCTION(phpdbg) /* {{{ */ |