summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-10-27 02:20:35 +0200
committerAnatol Belski <ab@php.net>2016-10-27 02:20:35 +0200
commitc3f08add5e33c1549c589cd249836fc0a93602fb (patch)
treea6a196b5935115675ba4dfc2a960bd997f50f8de /sapi/phpdbg/phpdbg.c
parent701df2c41011c25498f0bc9ad6c0a6bdef29a579 (diff)
parent4e3eb4a5f88846f589bf4066ed2fe14a227650bb (diff)
downloadphp-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.c2
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) /* {{{ */