cvs: ZendEngine2(PHP_5_3) / zend_exceptions.c
"Antony Dovgal" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.zend |
|---|---|
| Message-ID | <cvstony20011215941384@cvsserver> |
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. */
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php