cvs: ZendEngine2 / zend.c

From: Date: Mon, 16 Oct 2006 11:13:20 +0000
Subject: cvs: ZendEngine2 / zend.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5327@lists.php.net to get a copy of this message
dmitry Mon Oct 16 11:13:20 2006 UTC Modified files: /ZendEngine2 zend.c Log: Fixed bug #39140 (Uncaught exception may cause crash) http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.c?r1=1.377&r2=1.378&diff_format=u Index: ZendEngine2/zend.c diff -u ZendEngine2/zend.c:1.377 ZendEngine2/zend.c:1.378 --- ZendEngine2/zend.c:1.377 Fri Oct 13 14:52:19 2006 +++ ZendEngine2/zend.c Mon Oct 16 11:13:20 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend.c,v 1.377 2006/10/13 14:52:19 andrei Exp $ */ +/* $Id: zend.c,v 1.378 2006/10/16 11:13:20 dmitry Exp $ */ #include "zend.h" #include "zend_extensions.h" @@ -1616,6 +1616,8 @@ zend_execute(EG(active_op_array) TSRMLS_CC); if (EG(exception)) { char ex_class_name[128]; + + EG(opline_ptr) = NULL; if (Z_TYPE_P(EG(exception)) == IS_OBJECT) { /* CHECK ME: why strings only */ strncpy(ex_class_name, Z_OBJ_CLASS_NAME_P(EG(exception)).s, 127);

« previous php.zend-engine.cvs (#5327) next »