Skip to content

Commit 40cbe1d

Browse files
committed
changelog: 1.8.2
1 parent f9aec41 commit 40cbe1d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
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+
116
1.8.1 (2023-04-21)
217
==================
318
This is a patch release that fixes a bug where a regex match could be reported

0 commit comments

Comments
 (0)