com php-src: yet another uninitialized pointer: sapi/phpdbg/phpdbg.c

From: Date: Thu, 27 Oct 2016 00:42:30 +0000
Subject: com php-src: yet another uninitialized pointer: sapi/phpdbg/phpdbg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95304@lists.php.net to get a copy of this message
Commit: e586c7c61252a92da31d7aa5f5c883fb86c31352 Author: Anatol Belski <ab@php.net> Thu, 27 Oct 2016 02:40:30 +0200 Parents: b9993c8b6c159c55515938dc09d25ed47ffe4649 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e586c7c61252a92da31d7aa5f5c883fb86c31352 Log: yet another uninitialized pointer Changed paths: M sapi/phpdbg/phpdbg.c Diff: diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index eb58b90..d2de0c2 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) /* {{{ */

« previous php.cvs (#95304) next »