Annotation of embedaddon/php/ext/standard/tests/strings/bug64879.phpt, revision 1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>