[PR][php-src][#1063][master] - Fixed bug #69001: PHP crashed when calling zend_error during zend_startup
| From: | noreply@php.net | Date: | Sat, 07 Feb 2015 05:55:03 +0000 |
| Subject: | [PR][php-src][#1063][master] - Fixed bug #69001: PHP crashed when calling zend_error during zend_startup | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-2231@lists.php.net to get a copy of this message | ||
You can view the Pull Request on github:
https://github.com/php/php-src/pull/1063
Pull Request Description:
https://bugs.php.net/bug.php?id=69001
When build with ZTS, if any function inside zend_startup() throws
any errors(invoke
zend_error()) will crash PHP.
This also move EG() fields's initialization from main.c to zend.c
or there will be a jmp depend on uninitialized value.
https://github.com/php/php-src/blob/594c220dea0a1f3bd5e5d7fa72f8e5d00d0d2e6a/Zend/zend.c#L985
This bugs seems exist from PHP4.0