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 | 71eaaf65679fc949b798dec1007826162ecdc4d4 (patch) | |
| tree | cf7a071b7b43ab869f099b52ee63cf113fed17e0 /ext/spl/php_spl.c | |
| parent | b5f57703991421cdf01e5933f02751a42ee80ff9 (diff) | |
| download | php-git-71eaaf65679fc949b798dec1007826162ecdc4d4.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 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; |
