]> granicus.if.org Git - python/commit
Fix issue #14315: The zipfile module now ignores extra fields in the central
authorGregory P. Smith <greg@krypto.org>
Fri, 30 May 2014 06:42:47 +0000 (23:42 -0700)
committerGregory P. Smith <greg@krypto.org>
Fri, 30 May 2014 06:42:47 +0000 (23:42 -0700)
commite7bfe13635e4201660c9d016b62de10c2f7c9de3
treece15026563908fd49b5a5e6fea1054206c5d7733
parent12c5247be9f30052733d4cda26af5344292582ec
parent0af8a86be85ecf1899d0770c6d31541128ea8cad
Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
Lib/test/test_zipfile.py
Misc/NEWS