diff options
author | Anatol Belski <ab@php.net> | 2016-10-27 02:20:35 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-27 02:20:35 +0200 |
commit | c3f08add5e33c1549c589cd249836fc0a93602fb (patch) | |
tree | a6a196b5935115675ba4dfc2a960bd997f50f8de /sapi/phpdbg/phpdbg.c | |
parent | 701df2c41011c25498f0bc9ad6c0a6bdef29a579 (diff) | |
parent | 4e3eb4a5f88846f589bf4066ed2fe14a227650bb (diff) | |
download | php-git-c3f08add5e33c1549c589cd249836fc0a93602fb.tar.gz |
Merge branch 'PHP-7.1'
* PHP-7.1:
fix uninitialized pointer
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-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 04e911c411..4fc17ed5d6 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -174,6 +174,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) /* {{{ */ |