#46031 [Opn->Csd]: Segfault in AppendIterator::next
| From: | lbarnaud@php.net | Date: | Tue, 09 Sep 2008 19:44:41 +0000 |
| Subject: | #46031 [Opn->Csd]: Segfault in AppendIterator::next | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128817@lists.php.net to get a copy of this message | ||
ID: 46031
Updated by: lbarnaud@php.net
Reported By: felipe@php.net
-Status: Open
+Status: Closed
Bug Type: SPL related
PHP Version: 5.2CVS, 5.3CVS, 6CVS
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-09-09 17:27:01] felipe@php.net
Description:
------------
See below.
Reproduce code:
---------------
<?php
$x = new appenditerator;
$x->next();
Actual result:
--------------
==25082==
==25082== Invalid read of size 4
==25082== at 0x81B8421: spl_append_it_next (spl_iterators.c:1449)
==25082== by 0x83714BF: zend_do_fcall_common_helper_SPEC
(zend_vm_execute.h:315)
==25082== by 0x835F5E2: execute (zend_vm_execute.h:104)
==25082== by 0x8339A7E: zend_execute_scripts (zend.c:1197)
==25082== by 0x82DF76C: php_execute_script (main.c:2075)
==25082== by 0x83D1714: main (php_cli.c:1130)
==25082== Address 0x4 is not stack'd, malloc'd or (recently) free'd
==25082==
==25082== Process terminating with default action of signal 11
(SIGSEGV)
==25082== Access not within mapped region at address 0x4
==25082== at 0x81B8421: spl_append_it_next (spl_iterators.c:1449)
==25082== by 0x83714BF: zend_do_fcall_common_helper_SPEC
(zend_vm_execute.h:315)
==25082== by 0x835F5E2: execute (zend_vm_execute.h:104)
==25082== by 0x8339A7E: zend_execute_scripts (zend.c:1197)
==25082== by 0x82DF76C: php_execute_script (main.c:2075)
==25082== by 0x83D1714: main (php_cli.c:1130)
==25082==
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46031&edit=1