cvs: ZendEngine2(PHP_5_3) / zend_exceptions.c

From: Date: Sun, 13 Jul 2008 09:29:44 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend_exceptions.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6879@lists.php.net to get a copy of this message
tony2001 Sun Jul 13 09:29:44 2008 UTC Modified files: (Branch: PHP_5_3) /ZendEngine2 zend_exceptions.c Log: fix segfault in Exception::__toString() http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_exceptions.c?r1=1.79.2.6.2.9.2.8&r2=1.79.2.6.2.9.2.9&diff_format=u Index: ZendEngine2/zend_exceptions.c diff -u ZendEngine2/zend_exceptions.c:1.79.2.6.2.9.2.8 ZendEngine2/zend_exceptions.c:1.79.2.6.2.9.2.9 --- ZendEngine2/zend_exceptions.c:1.79.2.6.2.9.2.8 Sat Jul 12 14:59:46 2008 +++ ZendEngine2/zend_exceptions.c Sun Jul 13 09:29:44 2008 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_exceptions.c,v 1.79.2.6.2.9.2.8 2008/07/12 14:59:46 helly Exp $ */ +/* $Id: zend_exceptions.c,v 1.79.2.6.2.9.2.9 2008/07/13 09:29:44 tony2001 Exp $ */ #include "zend.h" #include "zend_API.h" @@ -530,7 +530,6 @@ exception = zend_read_property(default_exception_ce, exception, "previous", sizeof("previous")-1, 0 TSRMLS_CC); } - zval_dtor(&fname); /* We store the result in the private property string so we can access * the result in uncaught exception handlers without memleaks. */

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