VirtualBox

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

最後變更 在這個檔案從104195是 95312,由 vboxsync 提交於 3 年 前

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 485 位元組
  • 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);
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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