diff options
author | Anatol Belski <ab@php.net> | 2016-10-27 02:15:14 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-27 02:15:14 +0200 |
commit | b9993c8b6c159c55515938dc09d25ed47ffe4649 (patch) | |
tree | 9356c4697108554356d8c375dd9b54bcd7275edc /sapi | |
parent | 3fb0a1a4e75f1049afe6f6950a4b7171b81ba8b0 (diff) | |
download | php-git-b9993c8b6c159c55515938dc09d25ed47ffe4649.tar.gz |
fix uninitialized pointer
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) /* {{{ */ |