Skip to content

Conversation

@dbaeumer
Copy link
Contributor

@dbaeumer dbaeumer commented May 5, 2015

If you add entries to a zip using a stream the crc and sizes aren't know. 7Zip fails validating and extracting such a zip file if the UNKNOWN_CRC32_AND_FILE_SIZES isn't part of the central directory header as well.

@thejoshwolfe
Copy link
Owner

Nice pull request. It looks like your changes are actually more conformant to the spec than my code. Hard to believe; I thought I'd really did my research reading the spec. Nice work.

Tested unzipping with Linux InfoZip, Windows Compressed Folder, 7-Zip 9.20, 7-Zip 9.38, Mac Archive Utility.

thejoshwolfe added a commit that referenced this pull request May 7, 2015
7zip fails with zip file where files in the central directory header don't flag UNKNOWN_CRC32_AND_FILE_SIZES
@thejoshwolfe thejoshwolfe merged commit daf2464 into thejoshwolfe:master May 7, 2015
@thejoshwolfe
Copy link
Owner

yazl 2.2.2 published. Let me know if you have any other issues, and thanks again for your contribution.

@dbaeumer
Copy link
Contributor Author

dbaeumer commented May 8, 2015

Thanks for integrating the pull request so quickly. And thanks a lot for implementing yazl and yauzl. Makes our lives a lot easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants