1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00

try to get rid of parser loops for good. Daniel

* HTMLparser.c: try to get rid of parser loops for good.
Daniel
This commit is contained in:
Daniel Veillard 2001-10-17 15:45:12 +00:00
parent ab7488efa5
commit 7cc95c0b6a
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Oct 17 17:41:41 CEST 2001 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c: try to get rid of parser loops for good.
Wed Oct 17 13:29:02 CEST 2001 Daniel Veillard <daniel@veillard.com>
* configure.in: fixed some bugs in CFLAGS passing.

View File

@ -2396,6 +2396,12 @@ htmlParseCharData(htmlParserCtxtPtr ctxt) {
ctxt->sax->characters(ctxt->userData, buf, nbchar);
}
}
} else {
/*
* Loop detection
*/
if (cur == 0)
ctxt->instate = XML_PARSER_EOF;
}
}