Skip to content

Commit

Permalink
changelog: 1.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed May 22, 2023
1 parent f9aec41 commit 40cbe1d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
1.8.2 (2023-05-22)
==================
This is a patch release that fixes a bug where regex compilation could panic
in debug mode for regexes with large counted repetitions. For example,
`a{2147483516}{2147483416}{5}` resulted in an integer overflow that wrapped
in release mode but panicking in debug mode. Despite the unintended wrapping
arithmetic in release mode, it didn't cause any other logical bugs since the
errant code was for new analysis that wasn't used yet.

Bug fixes:

* [BUG #995](https://github.com/rust-lang/regex/issues/995):
Fix a bug where regex compilation with large counted repetitions could panic.


1.8.1 (2023-04-21)
==================
This is a patch release that fixes a bug where a regex match could be reported
Expand Down

0 comments on commit 40cbe1d

Please sign in to comment.