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

Add Zip64 Support to JS Zip Reader #1266

Merged
merged 2 commits into from
Feb 7, 2025
Merged

Add Zip64 Support to JS Zip Reader #1266

merged 2 commits into from
Feb 7, 2025

Conversation

dragonstyle
Copy link
Collaborator

As eval files get larger (approaching 4GB), the central directory will stop using 32 bit ints and instead use 64 bit ints to store offsets to byte ranges.

This is signaled by the file offset being a sentinel value, in which case we need to look through the extra fields to find the 64 bit offset and use that instead.

This change adds support for reading these large zip files.

This PR contains:

  • New features
  • Changes to dev-tools e.g. CI config / github tooling
  • Docs
  • Bug fixes
  • Code refactor

What is the current behavior? (You can also link to an open issue here)

What is the new behavior?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

As eval files get larger (approaching 4GB), the central directory will stop using 32 bit ints and instead use 64 bit ints to store offsets to byte ranges.

This is signaled by the file offset being a sentinel value, in which case we need to look through the extra fields to find the 64 bit offset and use that instead.

This change adds support for reading these large zip files.
@dragonstyle dragonstyle requested a review from jjallaire February 7, 2025 02:45
@jjallaire-aisi jjallaire-aisi merged commit 21d7130 into main Feb 7, 2025
9 checks passed
@jjallaire-aisi jjallaire-aisi deleted the feature/zip64 branch February 7, 2025 11:50
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