Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug with copying z_stream objects around in zip archiver (thanks,…
… Andrei!). zlib expects us to use inflateCopy() to move a z_stream, then inflateEnd() the original, and apparently fails in later versions if you just try to memcpy() it. This is only a bug in the stable-2.0 and stable-1.0 branches; we replaced zlib with miniz on the development branch, which doesn't have this requirement (or an inflateCopy() function at all!).
- Loading branch information
Showing with 2 additions and 1 deletion.
- +2 −1 archivers/zip.c