mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-07 06:43:02 +03:00
fixed a bug in one corner case of attribute parsing. Daniel
* parser.c: fixed a bug in one corner case of attribute parsing. Daniel
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
Thu Sep 11 18:29:18 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* parser.c: fixed a bug in one corner case of attribute parsing.
|
||||||
|
|
||||||
Thu Sep 11 16:21:53 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
Thu Sep 11 16:21:53 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* configure.in doc/* : 2.6.0beta1 changes
|
* configure.in doc/* : 2.6.0beta1 changes
|
||||||
|
2
parser.c
2
parser.c
@@ -7613,7 +7613,7 @@ xmlParseAttValueInternal(xmlParserCtxtPtr ctxt, int *len, int *alloc,
|
|||||||
/*
|
/*
|
||||||
* skip the trailing blanks
|
* skip the trailing blanks
|
||||||
*/
|
*/
|
||||||
while (last[-1] == 0x20) last--;
|
while ((last[-1] == 0x20) && (last > start)) last--;
|
||||||
while ((in < end) && (*in != limit) &&
|
while ((in < end) && (*in != limit) &&
|
||||||
((*in == 0x20) || (*in == 0x9) ||
|
((*in == 0x20) || (*in == 0x9) ||
|
||||||
(*in == 0xA) || (*in == 0xD))) {
|
(*in == 0xA) || (*in == 0xD))) {
|
||||||
|
Reference in New Issue
Block a user