Annotation of embedaddon/php/ext/xml/tests/bug65236.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #65236 (heap corruption in xml parser)
        !             3: --SKIPIF--
        !             4: <?php
        !             5: require_once("skipif.inc");
        !             6: ?>
        !             7: --FILE--
        !             8: <?php
        !             9: xml_parse_into_struct(xml_parser_create_ns(), str_repeat("<blah>", 1000), $a);
        !            10: 
        !            11: echo "Done\n";
        !            12: ?>
        !            13: --EXPECTF--
        !            14: Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d
        !            15: Done

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