Bug #61816 [Asn->Csd]: Segmentation fault

From: Date: Tue, 08 May 2012 08:36:51 +0000
Subject: Bug #61816 [Asn->Csd]: Segmentation fault
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-9377@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61816&edit=1 ID: 61816 Updated by: laruence@php.net Reported by: pcf98 at vip dot qq dot com Summary: Segmentation fault -Status: Assigned +Status: Closed Type: Bug Package: taint Operating System: SUSE Linux Enterprise Server 10 PHP Version: 5.3.10 Assigned To: laruence Block user comment: N Private report: N New Comment: Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2012-05-08 08:29:48] laruence@php.net Automatic comment from SVN on behalf of laruence Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=325586 Log: Fixed Bug #61816 (Segmentation fault) ------------------------------------------------------------------------ [2012-04-22 15:05:05] pcf98 at vip dot qq dot com Description: ------------ <?php $a = "tainted string" . ".\n"; taint($a); $b = array(""); $b[0] .= $a; var_dump(is_tainted($b[0])); $c = new stdClass(); $c->foo = "this is"; $c->foo .= $b[0]; echo $b[0]; // Segmentation fault var_dump(is_tainted($c->foo)); ?> Expected result: ---------------- bool(true) Warning: main(): Attempt to echo a string that might be tainted in %s010.php on line %d tainted string. bool(true) Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61816&edit=1

« previous php.pecl.dev (#9377) next »