diff options
author | Anatol Belski <ab@php.net> | 2016-10-27 02:20:12 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-27 02:20:12 +0200 |
commit | 4e3eb4a5f88846f589bf4066ed2fe14a227650bb (patch) | |
tree | 066f936fc3caea5b8742c7cfaa31167c32cd7910 /sapi/phpdbg/phpdbg.c | |
parent | 4616441980b5c770c54bb809139810cb61824997 (diff) | |
parent | b9993c8b6c159c55515938dc09d25ed47ffe4649 (diff) | |
download | php-git-4e3eb4a5f88846f589bf4066ed2fe14a227650bb.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
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 b800f061d2..513ca69a04 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) /* {{{ */ |