[issue34606] Unable to read zip file with extra

Vladimir Matveev report at bugs.python.org
Wed Sep 12 00:33:37 EDT 2018


Vladimir Matveev <desco.by at gmail.com> added the comment:

In this particular case looks like a crux of the problem was in the fact that compression encodes extra fields only if either zip64 is set or length of the field is larger than threshold but decompression always tries to decode it. Attached PR switches decoding to be conditioned on the presence of zip64 end of central directory record.

----------
nosy: +v2m

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34606>
_______________________________________


More information about the Python-bugs-list mailing list