Skip to content

Commit 9944f78

Browse files
committed
build: bump sevenz-rust2 to 0.21.5
Pulls in a batched AES-CBC block decryption improvement in sevenz-rust2, and transitively bumps lzma-rust2 to 0.19.0, which carries the 0.18.1 out-of-bounds LZ encoder fix. Both crates' affected code paths are currently unreachable in exarch-core, so this is a forward-looking hardening bump rather than an observable behavior change. Closes #548
1 parent f6399ad commit 9944f78

2 files changed

Lines changed: 17 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
`describe_final_swap_failure` (7 params, down to 4) to reach each of the six
2525
`disclose_if_orphaned` call sites individually. No behavior change.
2626

27+
- **Bumped `sevenz-rust2` from 0.21.4 to 0.21.5, pulling in a transitive `lzma-rust2` bump from
28+
0.18.0 to 0.19.0 (#548)**: `sevenz-rust2` 0.21.5 batches AES-CBC block decryption, a 7z-extraction
29+
performance improvement on AES-encrypted archives — currently unreachable in `exarch-core`, since
30+
every call site uses `Password::empty()` and encrypted 7z archives are rejected before decryption
31+
is attempted, so this is a forward-looking perf improvement rather than an observable behavior
32+
change. The transitive `lzma-rust2` bump picks up the out-of-bounds LZ encoder fix that actually
33+
landed in 0.18.1 (upstream #107, an encoder-only panic on single-stream encodes above roughly
34+
2 GiB); 0.19.0 itself minor-bumped separately to add sans-I/O LZMA1/LZIP decoders (upstream #109).
35+
`lzma-rust2`'s encoder surface is unreachable in `exarch-core` today, since 7z archive creation is
36+
unsupported, so the encoder fix is defense-in-depth for a currently-dormant code path. Only
37+
`Cargo.lock` changes; `sevenz-rust2 = "0.21.4"` in `Cargo.toml` is left as-is since the caret
38+
requirement already admits 0.21.5.
39+
2740
## [0.6.0] - 2026-08-04
2841

2942
### Security

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)