Test: /ext/standard/tests/strings/bug54238.phpt - Version 5.5.0-dev        

Security #54238 use-after-free in substr_replace()
Submitted: 2011-03-13 02:29:49 Modified: 2011-04-13 08:34:44
From: felipe Assigned: stas
Status: Closed Package: Strings related
PHP Version: Irrelevant OS: Linux

There are 2 different diffs reported by users for this test.

Count Diff
3 (75%)
003+ string(5) "0[0x0][0x0][0x0]y"
003- string(9) "AArrayray"
007+ string(1) "0"
007- array(2) {
008- [0]=>
009- string(1) "A"
010- [1]=>
011- string(1) "A"
012- }
1 (25%)
003+ string(5) "0ZZZZ"
003- string(9) "AArrayray"
007+ string(1) "0"
007- array(2) {
008- [0]=>
009- string(1) "A"
010- [1]=>
011- string(1) "A"
012- }