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:
parent
ab7488efa5
commit
7cc95c0b6a
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user