-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Cannot open zip64 file if Zip64EOCD record has additional data #126834
Comments
Hex output of the end of such file:
|
I can submit MR in a couple of days. Seems I've found a solution. |
Here's a python script which is able to generate a zip64 archive with some data in the zip64 end-of-archive record: |
VladRassokhin
added a commit
to VladRassokhin/cpython
that referenced
this issue
Nov 14, 2024
…tor in Zip64 end of central directory record Fixes python#126834
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
"Zip64 end of central directory record" may have additional data in the "zip64 extensible data sector" field.
In that case, zipfile should use offset from "Zip64 end of central directory locator".
Now it's read but ignored.
Problem lies in following code:
While it should be:
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
The text was updated successfully, but these errors were encountered: