summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug64879.phpt
blob: ac19ce6a04e2ecf5c530ef6499839019343227c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #64879: quoted_printable_encode() wrong size calculation (CVE-2013-2110)
--FILE--
<?php

quoted_printable_encode(str_repeat("\xf4", 1000)); 
quoted_printable_encode(str_repeat("\xf4", 100000)); 

echo "Done\n";
?>
--EXPECT--	
Done