From: Anatol Belski Date: Thu, 27 Oct 2016 00:15:14 +0000 (+0200) Subject: fix uninitialized pointer X-Git-Tag: php-7.1.0RC6~59^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9993c8b6c159c55515938dc09d25ed47ffe4649;p=php fix uninitialized pointer --- diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index de73c69ee7..eb58b90a47 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -119,6 +119,8 @@ static inline void php_phpdbg_globals_ctor(zend_phpdbg_globals *pg) /* {{{ */ #endif pg->eol = PHPDBG_EOL_LF; + + pg->stdin_file = NULL; } /* }}} */ static PHP_MINIT_FUNCTION(phpdbg) /* {{{ */