Edit report at https://bugs.php.net/bug.php?id=64106&edit=1

 ID:                 64106
 Updated by:         ni...@php.net
 Reported by:        ni...@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] ni...@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

Reply via email to