This repository has been archived by the owner on Jun 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 204
Use BufReader read encrypt zip has error: corrupt deflate stream #280
Labels
Comments
@Plecra Do you know anything about the bug? Maybe we had something similar before. |
Doesn't look familiar. It'll be a problem with how we're feeding the decrypted data through |
biluohc
added a commit
to biluohc/zipcs
that referenced
this issue
May 21, 2022
awaken1ng
added a commit
to awaken1ng/zip-rs
that referenced
this issue
Feb 16, 2024
Fixes `corrupt deflate stream` panic when extracting a file from encrypted archive (zip-rs#280).
awaken1ng
added a commit
to awaken1ng/zip-rs
that referenced
this issue
Apr 27, 2024
Fixes `corrupt deflate stream` panic when extracting a file from encrypted archive (zip-rs#280).
awaken1ng
added a commit
to awaken1ng/zip-rs
that referenced
this issue
Apr 27, 2024
Fixes `corrupt deflate stream` panic when extracting a file from encrypted archive (zip-rs#280).
awaken1ng
added a commit
to awaken1ng/zip-rs
that referenced
this issue
Apr 27, 2024
Fixes `corrupt deflate stream` panic when extracting a file from encrypted archive (zip-rs#280).
awaken1ng
added a commit
to awaken1ng/zip-rs
that referenced
this issue
Apr 27, 2024
Fixes `corrupt deflate stream` panic when extracting a file from encrypted archive (zip-rs#280).
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I use
zip::ZipArchive::new(BufReader::new(File::open(zip_path).unwrap()))
to open file, decompress happen error:Custom { kind: InvalidInput, error: "corrupt deflate stream" }
. Butzip::ZipArchive::new(File::open(zip_path).unwrap())
is ok.Version:
zip = "0.5.13"
(The git version also has the problem.)toolchain: stable-x86_64-pc-windows-msvc
rustc 1.58.1 (db9d1b20b 2022-01-20)
The file compress by 7z.
Password: 52gv
Code and Data: testzip.zip
Only zip file: data.zip
Code:
The text was updated successfully, but these errors were encountered: