This is a small patch release that fixes the compiler's size check on how much
heap memory a regex uses. Previously, the compiler did not account for the
heap usage of Unicode character classes. Now it does. It's possible that this
may make some regexes fail to compile that previously did compile. If that
happens, please file an issue.
BUG OSS-fuzz#33579:
Some regexes can use more heap memory than one would expect.
1.4.5 (2021-03-14)
This is a small patch release that fixes a regression in the size of a Regex
in the 1.4.4 release. Prior to 1.4.4, a Regex was 552 bytes. In the 1.4.4
release, it was 856 bytes due to internal changes. In this release, a Regex
is now 16 bytes. In general, the size of a Regex was never something that was
on my radar, but this increased size in the 1.4.4 release seems to have crossed
a threshold and resulted in stack overflows in some programs.
[BUG #750](rust-lang/regex#750):
Fixes stack overflows seemingly caused by a large Regex size by decreasing
its size.
1.4.4 (2021-03-11)
This is a small patch release that contains some bug fixes. Notably, it also
drops the thread_local (and lazy_static, via transitivity) dependencies.
Bug fixes:
[BUG #362](rust-lang/regex#362):
Memory leaks caused by an internal caching strategy should now be fixed.
[BUG #576](rust-lang/regex#576):
All regex types now implement UnwindSafe and RefUnwindSafe.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
Bumps regex from 1.4.2 to 1.4.6.
Changelog
Sourced from regex's changelog.
... (truncated)
Commits
3db8722
1.4.641f14c2
fuzz: account for Unicode class size in compiler6d95a6f
impl: shrink size of Instcc0f2c9
fuzz: update libfuzzer dependencyff283ba
1.4.578c7cef
impl: substantially reduce regex stack size951b8b9
1.4.45a35701
regex-syntax-0.6.23967a090
changelog: 1.4.4e040c1b
impl: drop thread_local dependencyDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually