KissXML icon indicating copy to clipboard operation
KissXML copied to clipboard

Huge input lookup error

Open andy61i opened this issue 6 years ago • 0 comments

Large input data may produce "internal error: Huge input lookup" on iOS devices.

Request for a fix in DDXMLDocument:

  • (instancetype)initWithData:(NSData *)data options:(NSUInteger)mask error:(NSError **)error ... xmlDocPtr doc = xmlReadMemory([data bytes], (int)[data length], NULL, NULL, (int)mask); // xmlDocPtr doc = xmlParseMemory([data bytes], (int)[data length]);

So, XML_PARSE_HUGE can be passed as mask.

andy61i avatar Nov 20 '18 06:11 andy61i