mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
parser: Remove xmlHaltParser
Always halt the parser on resource limit and entity loop errors and remove the remaining calls which seem unnecessary.
This commit is contained in:
@@ -5173,7 +5173,6 @@ htmlParseChunk(htmlParserCtxt *ctxt, const char *chunk, int size,
|
||||
if (res < 0) {
|
||||
htmlParseErr(ctxt, ctxt->input->buf->error,
|
||||
"xmlParserInputBufferPush failed", NULL, NULL);
|
||||
xmlHaltParser(ctxt);
|
||||
return (ctxt->errNo);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user