forked from boostorg/regex
Fix infinite loop in parser.
Fixes: https://github.com/boostorg/regex/issues/140.
This commit is contained in:
1 parent
194ab4d646
commit
d312a085b1
3 files changed
+8
No files matched your search
@@ -1124,6 +1124,9 @@ bool basic_regex_parser<charT, traits>::parse_repeat(std::size_t low, std::size_
|
||||
}
|
||||
else
|
||||
contin = false;
|
||||
break;
|
||||
default:
|
||||
contin = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user