php-src/ext/xml/tests/bug65236.phpt

16 lines
324 B
Plaintext
Raw Normal View History

2013-07-10 17:35:18 +00:00
--TEST--
Bug #65236 (heap corruption in xml parser)
--SKIPIF--
<?php
require_once("skipif.inc");
?>
--FILE--
<?php
xml_parse_into_struct(xml_parser_create_ns(), str_repeat("<blah>", 1000), $a);
echo "Done\n";
?>
--EXPECTF--
Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d
Done