VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/recurse/lol4.patch@ 100755

Last change on this file since 100755 was 95312, checked in by vboxsync, 3 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

  • Property svn:eol-style set to native
File size: 485 bytes
  • parser.c

    xmlStringLenDecodeEntities(xmlParserCtxt  
    25052505            c = CUR_SCHAR(str, l);
    25062506        else
    25072507            c = 0;
     2508        if ((nbchars > 500000) &&
     2509            (ctxt->instate == XML_PARSER_ATTRIBUTE_VALUE)) {
     2510            xmlFatalErr(ctxt, XML_ERR_ENTITY_LOOP, NULL);
     2511            goto int_error;
     2512        }
    25082513    }
    25092514    buffer[nbchars++] = 0;
    25102515    return(buffer);
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette