Bug #61816 [NEW]: Segmentation fault

From: Date: Sun, 22 Apr 2012 15:05:05 +0000
Subject: Bug #61816 [NEW]: Segmentation fault
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-9338@lists.php.net to get a copy of this message
From: Operating system: SUSE Linux Enterprise Server 10 PHP version: 5.3.10 Package: taint Bug Type: Bug Bug description:Segmentation fault 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 bug report at https://bugs.php.net/bug.php?id=61816&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61816&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61816&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61816&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61816&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61816&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61816&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61816&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61816&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61816&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61816&r=support Expected behavior: https://bugs.php.net/fix.php?id=61816&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61816&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61816&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61816&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61816&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61816&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61816&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61816&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61816&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61816&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61816&r=mysqlcfg

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