File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ 1.8.2 (2023-05-22)
2+ ==================
3+ This is a patch release that fixes a bug where regex compilation could panic
4+ in debug mode for regexes with large counted repetitions. For example,
5+ ` a{2147483516}{2147483416}{5} ` resulted in an integer overflow that wrapped
6+ in release mode but panicking in debug mode. Despite the unintended wrapping
7+ arithmetic in release mode, it didn't cause any other logical bugs since the
8+ errant code was for new analysis that wasn't used yet.
9+
10+ Bug fixes:
11+
12+ * [ BUG #995 ] ( https://github.com/rust-lang/regex/issues/995 ) :
13+ Fix a bug where regex compilation with large counted repetitions could panic.
14+
15+
1161.8.1 (2023-04-21)
217==================
318This is a patch release that fixes a bug where a regex match could be reported
You can’t perform that action at this time.
0 commit comments