#47704 [Asn->Csd]: PHP crashes on some "bad" operations with string offsets
ID: 47704
Updated by: dmitry@php.net
Reported By: dmitry@php.net
-Status: Assigned
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: *
PHP Version: 5.3CVS-2009-03-18 (CVS)
Assigned To: dmitry
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:
------------------------------------------------------------------------
[2009-03-18 10:39:32] dmitry@php.net
Description:
------------
The following script chrashes
Reproduce code:
---------------
<?php
$s = "abd";
$s[0]->a += 4;
echo "ok\n";
?>
Expected result:
----------------
ok
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47704&edit=1
Thread (3 messages)