From: Bob Weinand Date: Wed, 15 Jul 2015 20:30:12 +0000 (+0200) Subject: Fix crash on non-debug for phpdbg_end_oplog() X-Git-Tag: php-7.0.0beta2~6^2~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d25f3819c70888d791eb8031e5049d0791c1b040;p=php Fix crash on non-debug for phpdbg_end_oplog() --- diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 3ee0bde97f..48ac68c7f4 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -111,6 +111,8 @@ static inline void php_phpdbg_globals_ctor(zend_phpdbg_globals *pg) /* {{{ */ pg->sigsafe_mem.mem = NULL; pg->sigsegv_bailout = NULL; + pg->oplog_list = NULL; + #ifdef PHP_WIN32 pg->sigio_watcher_thread = INVALID_HANDLE_VALUE; memset(&pg->swd, 0, sizeof(struct win32_sigio_watcher_data));