From 71eaaf65679fc949b798dec1007826162ecdc4d4 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 12 Oct 2011 01:03:15 +0000 Subject: [PATCH] - Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer) patch by: tom at punkave dot com --- ext/spl/php_spl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 96615b6136..e875570f59 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -453,6 +453,7 @@ PHP_FUNCTION(spl_autoload_call) zend_exception_save(TSRMLS_C); if (retval) { zval_ptr_dtor(&retval); + retval = NULL; } if (zend_hash_exists(EG(class_table), lc_name, class_name_len + 1)) { break; -- 2.50.1