mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
13 lines
245 B
PHP
13 lines
245 B
PHP
--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";
|
|
?>
|
|
--EXPECTF--
|
|
Done
|