summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-10-27 02:46:18 +0200
committerAnatol Belski <ab@php.net>2016-10-27 02:46:18 +0200
commit6c55c39d8e866dcd93d9640a646d511b752fe2c0 (patch)
treee79517d9a33ac0437da30a3d5d4b2c7c20ce3f08 /sapi/phpdbg/phpdbg.c
parentc3f08add5e33c1549c589cd249836fc0a93602fb (diff)
parent931ea5c872a0a4455c5bbb8470c7a1d049bd8501 (diff)
downloadphp-git-6c55c39d8e866dcd93d9640a646d511b752fe2c0.tar.gz
Merge branch 'PHP-7.1'
* PHP-7.1: 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 4fc17ed5d6..ce4529d5d1 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -176,6 +176,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) /* {{{ */