#36303 [Asn->Csd]: foreach on error_zval produces segfault

From: Date: Mon, 06 Feb 2006 11:56:25 +0000
Subject: #36303 [Asn->Csd]: foreach on error_zval produces segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92980@lists.php.net to get a copy of this message
ID: 36303 Updated by: dmitry@php.net Reported By: dmitry at zend dot com -Status: Assigned +Status: Closed Bug Type: Scripting Engine problem Operating System: * PHP Version: 5CVS-2006-02-06 (CVS) Assigned To: dmitry New Comment: Fixed in CVS HEAD and PHP_5_1. Previous Comments: ------------------------------------------------------------------------ [2006-02-06 12:37:08] dmitry at zend dot com Description: ------------ PHP crashes on the following code: Reproduce code: --------------- <?php $x='data'; foreach($x->a->b as $v) { } echo "ok\n"; ?> Expected result: ---------------- ok Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36303&edit=1

« previous php.bugs (#92980) next »