com php-src: initialize valid_symbol_table, important for the main thread: Zend/zend.c
| From: | Anatol Belski | Date: | Sat, 18 Feb 2017 16:58:17 +0000 |
| Subject: | com php-src: initialize valid_symbol_table, important for the main thread: Zend/zend.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97138@lists.php.net to get a copy of this message | ||
Commit: 1623ef10c968b2c902f3d4b01955fddeca84dab6
Author: Anatol Belski <ab@php.net> 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;
}
/* }}} */