#47704 [Asn->Csd]: PHP crashes on some "bad" operations with string offsets

From: Date: Wed, 18 Mar 2009 13:13:55 +0000
Subject: #47704 [Asn->Csd]: PHP crashes on some "bad" operations with string offsets
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-134862@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#134862) next »