mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-21 22:50:08 +03:00
Report error for invalid regexp quantifiers
This commit is contained in:
parent
13ba5b619a
commit
f8329fdc23
@ -5268,6 +5268,9 @@ xmlFAParseQuantifier(xmlRegParserCtxtPtr ctxt) {
|
||||
cur = xmlFAParseQuantExact(ctxt);
|
||||
if (cur >= 0)
|
||||
min = cur;
|
||||
else {
|
||||
ERROR("Improper quantifier");
|
||||
}
|
||||
if (CUR == ',') {
|
||||
NEXT;
|
||||
if (CUR == '}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user