Permalink
Browse files

Merge branch 'PHP-5.3' into PHP-5.4

  • Loading branch information...
2 parents 29ac511 + 710eee5 commit 4204e2cb5bce078ced4b96f3821fa7b1995407b6 @johannes johannes committed Jul 10, 2013
Showing with 15 additions and 0 deletions.
  1. +15 −0 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

0 comments on commit 4204e2c

Please sign in to comment.