projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68ce999
)
- Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
author
Felipe Pena
<felipe@php.net>
Wed, 12 Oct 2011 01:03:15 +0000
(
01:03
+0000)
committer
Felipe Pena
<felipe@php.net>
Wed, 12 Oct 2011 01:03:15 +0000
(
01:03
+0000)
patch by: tom at punkave dot com
ext/spl/php_spl.c
patch
|
blob
|
history
diff --git
a/ext/spl/php_spl.c
b/ext/spl/php_spl.c
index 8ba85cb8f7d2cb5aeac37b34079ffe561b492e0c..e512cbf37664965e3a9d46280f003cfee5e35938 100755
(executable)
--- 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;