diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-10-19 18:26:52 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-10-19 18:26:52 (GMT) |
commit | 818fd731f62993dc8aa5d07b82e1d1b2c04aae7d (patch) | |
tree | 41a61b0a1b18ed5ffeeb028e986b3586f9063628 /libxml2/test/recurse/lol4.patch | |
parent | d72feaf69933b069cff3c0cb20a5f5f03ecba77b (diff) | |
download | blt-818fd731f62993dc8aa5d07b82e1d1b2c04aae7d.zip blt-818fd731f62993dc8aa5d07b82e1d1b2c04aae7d.tar.gz blt-818fd731f62993dc8aa5d07b82e1d1b2c04aae7d.tar.bz2 |
update libxml2
Diffstat (limited to 'libxml2/test/recurse/lol4.patch')
-rw-r--r-- | libxml2/test/recurse/lol4.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libxml2/test/recurse/lol4.patch b/libxml2/test/recurse/lol4.patch deleted file mode 100644 index f41be28..0000000 --- a/libxml2/test/recurse/lol4.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: parser.c -=================================================================== ---- parser.c (revision 3773) -+++ parser.c (working copy) -@@ -2505,6 +2505,11 @@ xmlStringLenDecodeEntities(xmlParserCtxt - c = CUR_SCHAR(str, l); - else - c = 0; -+ if ((nbchars > 500000) && -+ (ctxt->instate == XML_PARSER_ATTRIBUTE_VALUE)) { -+ xmlFatalErr(ctxt, XML_ERR_ENTITY_LOOP, NULL); -+ goto int_error; -+ } - } - buffer[nbchars++] = 0; - return(buffer); |