mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-19 05:43:19 +03:00
tried to fix #98879 again in a more solid way. Daniel
* HTMLparser.c: tried to fix #98879 again in a more solid way. Daniel
This commit is contained in:
@ -4493,6 +4493,12 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) {
|
||||
}
|
||||
if (avail < 1)
|
||||
goto done;
|
||||
cur = in->cur[0];
|
||||
if (cur == 0) {
|
||||
SKIP(1);
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (ctxt->instate) {
|
||||
case XML_PARSER_EOF:
|
||||
/*
|
||||
|
Reference in New Issue
Block a user