diff options
author | Felipe Pena <felipe@php.net> | 2011-10-12 01:03:15 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-10-12 01:03:15 +0000 |
commit | 83ca3c8ff9bfcc32c364ed8e9a451a0575c10e83 (patch) | |
tree | ca2adaff91dcf7333ce313f0c00ada37d16e4119 /ext/spl/php_spl.c | |
parent | 68ce999e18531b94ed6220bfacc528ff1c95e1c2 (diff) | |
download | php-git-83ca3c8ff9bfcc32c364ed8e9a451a0575c10e83.tar.gz |
- Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
patch by: tom at punkave dot com
Diffstat (limited to 'ext/spl/php_spl.c')
-rwxr-xr-x | ext/spl/php_spl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 8ba85cb8f7..e512cbf376 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -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; |