cargo-contract
cargo-contract copied to clipboard
Bump zip from 1.1.4 to 1.2.1
Bumps zip from 1.1.4 to 1.2.1.
Release notes
Sourced from zip's releases.
v1.2.1
🐛 Bug Fixes
- Prevent panic when trying to read a file with an unsupported compression method
- Prevent panic after reading an invalid LZMA file
- Make
Storedthe default compression method ifDeflatedisn't available, so that zip files are readable by as much software as possible- version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 (#100)
- file paths shouldn't start with slashes (#102)
🚜 Refactor
- Overhaul
impl Arbitrary for FileOptions- Remove unused
atomicmodulev1.2.0
🚀 Features
- Add method
decompressed_size()so non-recursive ZIP bombs can be detected🚜 Refactor
- Make
ZipWriter::finish()consume theZipWriter⚙️ Miscellaneous Tasks
- Use panic! rather than abort to ensure the fuzz harness can process the failure
- Update fuzz_write to use replace_with
- Remove a drop that can no longer be explicit
- Add
#![allow(unexpected_cfgs)]in nightly
Changelog
Sourced from zip's changelog.
1.2.1 - 2024-05-06
🐛 Bug Fixes
- Prevent panic when trying to read a file with an unsupported compression method
- Prevent panic after reading an invalid LZMA file
- Make
Storedthe default compression method ifDeflatedisn't available, so that zip files are readable by as much software as possible- version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 (#100)
- file paths shouldn't start with slashes (#102)
🚜 Refactor
- Overhaul
impl Arbitrary for FileOptions- Remove unused
atomicmodule1.2.0 - 2024-05-06
🚀 Features
- Add method
decompressed_size()so non-recursive ZIP bombs can be detected🚜 Refactor
- Make
ZipWriter::finish()consume theZipWriter⚙️ Miscellaneous Tasks
- Use panic! rather than abort to ensure the fuzz harness can process the failure
- Update fuzz_write to use replace_with
- Remove a drop that can no longer be explicit
- Add
#![allow(unexpected_cfgs)]in nightly
Commits
b725303Merge pull request #103 from zip-rs/release-plz-2024-05-06T17-54-03Za1f2399chore: releasef7ab2aefix: Prevent panic when trying to read a file with an unsupported compression...7f46b77ci: Upload leak reports if fuzz failsd13031cfix: Prevent panic after reading an invalid LZMA file8868a11test(fuzz): Fix a fuzz-read bug when finishing LZMAb277298test(fuzz): Fix: need to accept FileNotFound from abort162c9b7test(fuzz): Fix bugs that were breaking the fuzz test447f9c6refactor: Overhaulimpl Arbitrary for FileOptions845c3ecrefactor: Remove unusedatomicmodule- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)