com php-src: initialize valid_symbol_table, important for the main thread: Zend/zend.c

[email protected] (Anatol Belski)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    1623ef10c968b2c902f3d4b01955fddeca84dab6
Author:    Anatol Belski <[email protected]>         Sat, 18 Feb 2017 17:58:17 +0100
Parents:   513582814b0ca82d81eb6b98897d745e0f0eebf5
Branches:  PHP-7.0 PHP-7.1 master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=1623ef10c968b2c902f3d4b01955fddeca84dab6

Log:
initialize valid_symbol_table, important for the main thread

to prevent php_errormsg population on invalid symlol_table

Changed paths:
  M  Zend/zend.c


Diff:
diff --git a/Zend/zend.c b/Zend/zend.c
index 22a92a6..7ac5114 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -567,6 +567,7 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals) /* {{
 #ifdef ZEND_WIN32
 	zend_get_windows_version_info(&executor_globals->windows_version_info);
 #endif
+	executor_globals->valid_symbol_table = 0;
 }
 /* }}} */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.