|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patches63123 (last revision 2012-09-21 02:06 UTC by 274611049 at qq dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-09-21 03:27 UTC] laruence@php.net
[2012-09-21 03:28 UTC] laruence@php.net
[2012-09-21 03:28 UTC] laruence@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: laruence
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 17:00:02 2025 UTC |
Description: ------------ Hash pointer should be reset at the end of function : php_taint_mark_strings Test script: --------------- <?php $str = 'a,' . 'b'; taint($str); $a = explode(',', $str); while (list($key, $val) = each($a)) { echo $val; } ?> Expected result: ---------------- Warning: main(): Attempt to echo a string that might be tainted in /data/taint- 1.0.0/tests/012.php on line 7 a Warning: main(): Attempt to echo a string that might be tainted in /data/taint- 1.0.0/tests/012.php on line 7 b Actual result: -------------- empty