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

feat: no need for local zip64 extra when streaming #23

Merged
merged 1 commit into from Jan 6, 2023

Conversation

michalc
Copy link
Member

@michalc michalc commented Jan 4, 2023

This was added in 62f8cf1, but it might not really have ever been needed, so removing it saves a few bytes. And stronger than that, libarchive/libarchive#1834 gives an argument that it even makes the ZIP file invalid.

To give even more weight to the argument that this is ok, I made a few Zip64 files with data descriptors with InfoZIP. They did not have local Zip64 extra fields. If this were a problem, it probably would have been discovered by now.

@michalc michalc changed the title feat: no need for zip64 extra when streaming feat: no need for local zip64 extra when streaming Jan 4, 2023
This was added in
62f8cf1,
but it might not really have ever been needed, so removing it saves a few
bytes. And stronger than that,
libarchive/libarchive#1834 gives an argument that it
even makes the ZIP file invalid.

To give even more weight to the argument that this is ok, I made a few Zip64
files with data descriptors with InfoZIP. They did not have local Zip64 extra
fields. If this were a problem, it probably would have been discovered by now.
@michalc michalc marked this pull request as ready for review January 4, 2023 18:43
@michalc michalc merged commit 6b2f2e0 into main Jan 6, 2023
@michalc michalc deleted the no-zip64-local-extra-field branch January 6, 2023 19:31
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.

None yet

1 participant