File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / xml / tests / bug65236.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 08:02:42 2013 UTC (10 years, 9 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, HEAD
v 5.4.20

--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

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