]> 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:14 +0000 (23:42 -0700)
committerGregory P. Smith <greg@krypto.org>
Fri, 30 May 2014 06:42:14 +0000 (23:42 -0700)
commit0af8a86be85ecf1899d0770c6d31541128ea8cad
tree8df8ec9805b36de4d5093109b84a0feb34a8ff00
parent58cfdd8af80f2ffa44b207e0846ddbe7f73836cb
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
Lib/zipfile.py
Misc/NEWS