mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
16 lines
324 B
Plaintext
16 lines
324 B
Plaintext
|
--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
|