Return to bug64879.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
1.1 misho 1: --TEST-- 2: Bug #64879: quoted_printable_encode() wrong size calculation (CVE-2013-2110) 3: --FILE-- 4: <?php 5: 6: quoted_printable_encode(str_repeat("\xf4", 1000)); 7: quoted_printable_encode(str_repeat("\xf4", 100000)); 8: 9: echo "Done\n"; 10: ?> 11: --EXPECTF-- 12: Done