mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
This commit is contained in:
parent
683b4f7a2b
commit
cc30524c89
2 changed files with 6 additions and 0 deletions
4
NEWS
4
NEWS
|
@ -13,6 +13,10 @@ PHP NEWS
|
|||
- DateTime:
|
||||
. Fixed Bug #62500 (Segfault in DateInterval class when extended). (Laruence)
|
||||
|
||||
- SPL:
|
||||
. Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance
|
||||
gives Segmentation fault). (Laruence, Gustavo)
|
||||
|
||||
14 Jun 2012, PHP 5.3.14
|
||||
|
||||
- CLI SAPI:
|
||||
|
|
|
@ -1287,6 +1287,8 @@ static union _zend_function *spl_dual_it_get_method(zval **object_ptr, char *met
|
|||
*object_ptr = intern->inner.zobject;
|
||||
function_handler = Z_OBJ_HT_P(*object_ptr)->get_method(object_ptr, method, method_len TSRMLS_CC);
|
||||
}
|
||||
} else {
|
||||
*object_ptr = intern->inner.zobject;
|
||||
}
|
||||
}
|
||||
return function_handler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue