From b9993c8b6c159c55515938dc09d25ed47ffe4649 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 27 Oct 2016 02:15:14 +0200 Subject: [PATCH] fix uninitialized pointer --- sapi/phpdbg/phpdbg.c | 2 ++ 1 file changed, 2 insertions(+) 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) /* {{{ */ -- 2.40.0