From e586c7c61252a92da31d7aa5f5c883fb86c31352 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 27 Oct 2016 02:40:30 +0200 Subject: yet another uninitialized pointer --- sapi/phpdbg/phpdbg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sapi/phpdbg/phpdbg.c') 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) /* {{{ */ -- cgit v1.2.1