1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00

bill pointed out a missing block in xmlParseComment trying to fill with a

* parser.c: bill pointed out a missing block in xmlParseComment
  trying to fill with a normal processing of the given character.
Daniel
This commit is contained in:
Daniel Veillard 2006-02-05 03:06:15 +00:00
parent 6974feb0cf
commit 9b528c759b
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sun Feb 5 04:03:59 CET 2006 Daniel Veillard <daniel@veillard.com>
* parser.c: bill pointed out a missing block in xmlParseComment
trying to fill with a normal processing of the given character.
Sun Feb 5 03:41:39 CET 2006 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed the comment streaming bug raised by Graham Bennett

View File

@ -3917,8 +3917,10 @@ get_more:
}
}
ctxt->input->cur = in;
if (*in == 0xA)
if (*in == 0xA) {
in++;
ctxt->input->line++; ctxt->input->col = 1;
}
if (*in == 0xD) {
in++;
if (*in == 0xA) {