Bug #53362 [Fbk->Csd]: Segmentation fault when extending SplFixedArray
| From: | felipe@php.net | Date: | Fri, 19 Nov 2010 20:09:09 +0000 |
| Subject: | Bug #53362 [Fbk->Csd]: Segmentation fault when extending SplFixedArray | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156237@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53362&edit=1
ID: 53362
Updated by: felipe@php.net
Reported by: public at grik dot net
Summary: Segmentation fault when extending SplFixedArray
-Status: Feedback
+Status: Closed
Type: Bug
Package: SPL related
Operating System: Linux, Windows
PHP Version: 5.3.3
-Assigned To:
+Assigned To: felipe
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
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:
------------------------------------------------------------------------
[2010-11-19 21:07:34] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=305565
Log: - Fixed bug #53362 (Segmentation fault when extending
SplFixedArray)
------------------------------------------------------------------------
[2010-11-19 20:32:56] pajoye@php.net
Can you try using 5.3.4RC1 please?
------------------------------------------------------------------------
[2010-11-19 20:27:30] public at grik dot net
Program received signal SIGSEGV, Segmentation fault.
0x00000000005cbfcf in spl_fixedarray_object_write_dimension
(object=0x80232c818, offset=0x0, value=0x8023310a8)
at /usr/ports/lang/php5/work/php-5.3.3/ext/spl/spl_fixedarray.c:409
409 in /usr/ports/lang/php5/work/php-5.3.3/ext/spl/spl_fixedarray.c
------------------------------------------------------------------------
[2010-11-19 20:15:39] public at grik dot net
Description:
------------
Segmentation fault when extending SplFixedArray and working with it as
with an array.
Test script:
---------------
<?php
class obj extends SplFixedArray{
public function offsetSet($offset, $value) {}
}
$obj = new obj;
$obj[]=2;
Expected result:
----------------
nothing
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53362&edit=1