mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-17 18:21:05 +03:00
fixes bug #105998 about false detection of attribute consumption loop.
* parser.c: fixes bug #105998 about false detection of attribute consumption loop. Daniel
This commit is contained in:
3
parser.c
3
parser.c
@ -6727,7 +6727,8 @@ failed:
|
||||
if (ctxt->recovery == 0) ctxt->disableSAX = 1;
|
||||
}
|
||||
SKIP_BLANKS;
|
||||
if ((cons == ctxt->input->consumed) && (q == CUR_PTR)) {
|
||||
if ((cons == ctxt->input->consumed) && (q == CUR_PTR) &&
|
||||
(attname == NULL) && (attvalue == NULL)) {
|
||||
ctxt->errNo = XML_ERR_INTERNAL_ERROR;
|
||||
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
|
||||
ctxt->sax->error(ctxt->userData,
|
||||
|
Reference in New Issue
Block a user