1
0
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:
Nick Wellnhofer
2025-07-22 01:08:38 +02:00
parent cdf4c6f1a2
commit 7a41b18c62
5 changed files with 24 additions and 37 deletions

View File

@@ -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);
}
}