|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-03-13 18:51 UTC] felipe@php.net
-CVE-ID:
+CVE-ID: 2011-1148
[2011-04-13 08:33 UTC] stas@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: stas
[2011-04-13 08:33 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 04:00:02 2025 UTC |
Description: ------------ Caused by passing the same variable multiple times to the function, which makes a convert_to_<type>_ex() call to invalid the each pointer of parameter. Test script: --------------- <?php $f = array(array('A', 'A')); $z = substr_replace($f, $f, $f, 1); var_dump($z, $f); Actual result: -------------- array(1) { [0]=> string(5) "0Dd y" } array(1) { [0]=> string(1) "0" }