mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
- Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
patch by: tom at punkave dot com
This commit is contained in:
parent
68ce999e18
commit
83ca3c8ff9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user