diff --git a/xmlregexp.c b/xmlregexp.c index 0272dcab..687290e2 100644 --- a/xmlregexp.c +++ b/xmlregexp.c @@ -5268,6 +5268,9 @@ xmlFAParseQuantifier(xmlRegParserCtxtPtr ctxt) { cur = xmlFAParseQuantExact(ctxt); if (cur >= 0) min = cur; + else { + ERROR("Improper quantifier"); + } if (CUR == ',') { NEXT; if (CUR == '}')