Skip to content

Commit b9993c8

Browse files
committed
fix uninitialized pointer
1 parent 3fb0a1a commit b9993c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sapi/phpdbg/phpdbg.c

+2
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ static inline void php_phpdbg_globals_ctor(zend_phpdbg_globals *pg) /* {{{ */
119119
#endif
120120

121121
pg->eol = PHPDBG_EOL_LF;
122+
123+
pg->stdin_file = NULL;
122124
} /* }}} */
123125

124126
static PHP_MINIT_FUNCTION(phpdbg) /* {{{ */

0 commit comments

Comments
 (0)