From: Nikita Popov Date: Mon, 1 Jul 2019 14:13:50 +0000 (+0200) Subject: Initialize last_line in phpdbg globals X-Git-Tag: php-7.4.0alpha3~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af3e2d3186874e12c0a66f1c3e46ec08399f0818;p=php Initialize last_line in phpdbg globals --- diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 67cefc75f2..1f4cb29a4f 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -181,6 +181,7 @@ static inline void php_phpdbg_globals_ctor(zend_phpdbg_globals *pg) /* {{{ */ pg->stdin_file = NULL; pg->cur_command = NULL; + pg->last_line = 0; } /* }}} */ static PHP_MINIT_FUNCTION(phpdbg) /* {{{ */