summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug64879.phpt
blob: 6135fbbb52a070f57bce55b1dc218b0b571bb238 (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