From: Johannes Schlüter Date: Wed, 10 Jul 2013 17:35:18 +0000 (+0200) Subject: add test for bug #65236 X-Git-Tag: php-5.4.18RC1~29^2~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=710eee5555bc5c95692bd3c84f5d2b5d687349b6;p=php add test for bug #65236 --- diff --git a/ext/xml/tests/bug65236.phpt b/ext/xml/tests/bug65236.phpt new file mode 100644 index 0000000000..67b26d663f --- /dev/null +++ b/ext/xml/tests/bug65236.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #65236 (heap corruption in xml parser) +--SKIPIF-- + +--FILE-- +", 1000), $a); + +echo "Done\n"; +?> +--EXPECTF-- +Warning: xml_parse_into_struct(): Maximum depth exceeded - Results truncated in %s on line %d +Done