cvs: ZendEngine2 / zend_execute_API.c
| From: | Marcus Boerger | Date: | Sat, 19 Mar 2005 14:25:42 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3509@lists.php.net to get a copy of this message | ||
helly Sat Mar 19 09:25:42 2005 EDT
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
- Fix all incarnations of bug #30266
# most probably we should emit a fatal error here but that has to be
# discussed first
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.313&r2=1.314&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.313 ZendEngine2/zend_execute_API.c:1.314
--- ZendEngine2/zend_execute_API.c:1.313 Sun Mar 13 08:22:02 2005
+++ ZendEngine2/zend_execute_API.c Sat Mar 19 09:25:42 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.313 2005/03/13 13:22:02 helly Exp $ */
+/* $Id: zend_execute_API.c,v 1.314 2005/03/19 14:25:42 helly Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -575,6 +575,10 @@
zval *params_array;
int call_via_handler = 0;
+ if (EG(exception)) {
+ return FAILURE; /* we would result in an instable executor otherwise */
+ }
+
switch (fci->size) {
case sizeof(zend_fcall_info):
break; /* nothing to do currently */