]> 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:41:52 +0000 (23:41 -0700)
committerGregory P. Smith <greg@krypto.org>
Fri, 30 May 2014 06:41:52 +0000 (23:41 -0700)
commit0344a0643d72c0a3557b329c64fc5f04be677bba
treeaa247019427c95b1e3cdc19442171a589ee72f83
parent76916e8404923b1c81217bfeb71df8d7f4f772c8
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