- Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)

patch by: tom at punkave dot com
This commit is contained in:
Felipe Pena 2011-10-12 01:03:15 +00:00
parent 68ce999e18
commit 83ca3c8ff9

View File

@ -406,6 +406,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;