cvs: ZendEngine2(PHP_5_0) / zend_execute.c /tests bug35437.phpt php-src NEWS
| From: | Dmitry Stogov | Date: | Thu, 01 Dec 2005 12:56:07 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_execute.c /tests bug35437.phpt php-src NEWS | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4414@lists.php.net to get a copy of this message | ||
dmitry Thu Dec 1 07:56:07 2005 EDT
Added files: (Branch: PHP_5_0)
/ZendEngine2/tests bug35437.phpt
Modified files:
/php-src NEWS
/ZendEngine2 zend_execute.c
Log:
Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4)
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.523&r2=1.1760.2.524&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.523 php-src/NEWS:1.1760.2.524
--- php-src/NEWS:1.1760.2.523 Mon Nov 28 05:07:51 2005
+++ php-src/NEWS Thu Dec 1 07:56:01 2005
@@ -4,6 +4,7 @@
- Fixed an error in mysqli_fetch_fields (returned NULL instead of an
array when row number > field_count). (Georg)
- Renamed CachingRecursiveIterator to RecursiveCachingIterator. (Marcus)
+- Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4). (Dmitry)
- Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of
soapenc:base64binary fails). (Dmitry)
- Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash).
http://cvs.php.net/diff.php/ZendEngine2/zend_execute.c?r1=1.652.2.56&r2=1.652.2.57&ty=u
Index: ZendEngine2/zend_execute.c
diff -u ZendEngine2/zend_execute.c:1.652.2.56 ZendEngine2/zend_execute.c:1.652.2.57
--- ZendEngine2/zend_execute.c:1.652.2.56 Wed Nov 16 06:51:58 2005
+++ ZendEngine2/zend_execute.c Thu Dec 1 07:56:03 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute.c,v 1.652.2.56 2005/11/16 11:51:58 dmitry Exp $ */
+/* $Id: zend_execute.c,v 1.652.2.57 2005/12/01 12:56:03 dmitry Exp $ */
#define ZEND_INTENSIVE_DEBUGGING 0
@@ -1384,6 +1384,10 @@
{
zend_execute_data execute_data;
+ if (EG(exception)) {
+ return;
+ }
+
/* Initialize execute_data */
EX(fbc) = NULL;
EX(object) = NULL;
http://cvs.php.net/co.php/ZendEngine2/tests/bug35437.phpt?r=1.1&p=1
Index: ZendEngine2/tests/bug35437.phpt
+++ ZendEngine2/tests/bug35437.phpt