[issue39294] zipfile.ZipInfo objects contain invalid 'extra' fields.
Daniel Hillier
report at bugs.python.org
Sat Feb 1 21:50:32 EST 2020
Daniel Hillier <daniel.hillier at gmail.com> added the comment:
This looks to be expected behaviour for the zip64 extension in the zip spec (for handling large files or large archives).
Section 4.4.1.4 of the zip spec outlines when the zip64 extra fields are used (https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT). In short, when the file offset header (number of bytes to the start of the file in the archive) exceeds the size allotted in the header in the original spec (0xFFFFFFFF or just under 2Gb).
Let me know if what you're observing is unrelated to this.
----------
nosy: +dhillier
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39294>
_______________________________________
More information about the Python-bugs-list
mailing list