ID:          46160
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:      Open
+Status:      Closed
 Bug Type:    SPL related
 PHP Version: 5.3CVS-2008-09-23 (CVS)
 Assigned To: colder
 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-23 11:40:06] [EMAIL PROTECTED]

Description:
------------
A simple detail, see the patch:
http://felipe.ath.cx/diff/spl-offsetset.diff

Reproduce code:
---------------
<?php

try {
        $x = new splqueue;
        $x->offsetSet(0, 0);
} catch (Exception $e) { }


Actual result:
--------------
==25461== 20 bytes in 1 blocks are definitely lost in loss record 2 of
4
==25461==    at 0x4021620: malloc (vg_replace_malloc.c:149)
==25461==    by 0x83B9AD8: ZEND_SEND_VAL_SPEC_CONST_HANDLER
(zend_vm_execute.h:1691)
==25461==    by 0x83B764B: execute (zend_vm_execute.h:104)
==25461==    by 0x8397166: zend_execute_scripts (zend.c:1197)
==25461==    by 0x8345947: php_execute_script (main.c:2080)
==25461==    by 0x841F6A2: main (php_cli.c:1130)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46160&edit=1

Reply via email to