Bug #64106 [Asn->Csd]: Segfault on SplFixedArray[][x] = y when extended
| From: | nikic@php.net | Date: | Wed, 30 Jan 2013 19:38:52 +0000 |
| Subject: | Bug #64106 [Asn->Csd]: Segfault on SplFixedArray[][x] = y when extended | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-176354@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64106&edit=1
ID: 64106
Updated by: nikic@php.net
Reported by: nikic@php.net
Summary: Segfault on SplFixedArray[][x] = y when extended
-Status: Assigned
+Status: Closed
Type: Bug
Package: SPL related
PHP Version: Irrelevant
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=321f4f18e52bfabe19fb9217dff0bf661d48e5d3
Log: Fixed bug #64106: Segfault on SplFixedArray[][x] = y when extended
Previous Comments:
------------------------------------------------------------------------
[2013-01-30 19:02:24] nikic@php.net
Description:
------------
Segfault on this script:
<?php
class MyFixedArray extends SplFixedArray {
public function offsetGet($offset) {}
}
$array = new MyFixedArray(10);
$array[][1] = 10;
Same applies to ArrayObject.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64106&edit=1