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

From: Date: Wed, 18 Mar 2009 10:39:50 +0000
Subject: #47704 [Opn->Asn]: PHP crashes on some "bad" operations with string offsets
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-134853@lists.php.net to get a copy of this message
ID: 47704 Updated by: dmitry@php.net Reported By: dmitry@php.net -Status: Open +Status: Assigned Bug Type: Scripting Engine problem Operating System: * PHP Version: 5.3CVS-2009-03-18 (CVS) -Assigned To: +Assigned To: dmitry 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

« previous php.bugs (#134853) next »