Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(unzip): try to repair ZIP archives with extra comment length #138

Merged
merged 1 commit into from
Dec 24, 2017

Conversation

rdeltour
Copy link
Member

@rdeltour rdeltour commented Dec 24, 2017

This PR properly fixes #121.

When Ace tries to unzip an invalid ZIP file with a comment section bigger than the comment-length field declared in the End of Central Directory Record, it catches the error, truncate the ZIP file, and retries to unzip.

@rdeltour rdeltour added this to the v0.8.0 “Beta 4” milestone Dec 24, 2017
@rdeltour rdeltour self-assigned this Dec 24, 2017
@rdeltour rdeltour merged commit 4c8b532 into master Dec 24, 2017
@rdeltour rdeltour deleted the fix/repair-zip branch December 24, 2017 02:12
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.

Ace cannot unzip some EPUB
1 participant