diff options
author | Johannes Schlüter <johannes@php.net> | 2013-07-10 19:36:12 +0200 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2013-07-10 19:36:12 +0200 |
commit | 4204e2cb5bce078ced4b96f3821fa7b1995407b6 (patch) | |
tree | b02b0fce16e1f84f62e45ef7bd56f946d2435b55 | |
parent | 29ac511b8afabaee27133bb3582142a49154eab5 (diff) | |
parent | 710eee5555bc5c95692bd3c84f5d2b5d687349b6 (diff) | |
download | php-git-4204e2cb5bce078ced4b96f3821fa7b1995407b6.tar.gz |
Merge branch 'PHP-5.3' into PHP-5.4
-rw-r--r-- | ext/xml/tests/bug65236.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
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-- +<?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 |