summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-10-27 02:40:30 +0200
committerAnatol Belski <ab@php.net>2016-10-27 02:42:30 +0200
commite586c7c61252a92da31d7aa5f5c883fb86c31352 (patch)
tree0b4247f790c62f09e9aa2414d1a74f38a16d8518 /sapi/phpdbg/phpdbg.c
parentb9993c8b6c159c55515938dc09d25ed47ffe4649 (diff)
downloadphp-git-e586c7c61252a92da31d7aa5f5c883fb86c31352.tar.gz
yet another uninitialized pointer
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c2
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) /* {{{ */