commit | 3e5b027a64e9eccc8d2100e717c19f61d3a51d62 | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Tue Jul 28 22:15:30 2009 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Tue Jul 28 22:15:30 2009 +0000 |
tree | 22a56ccd993c67db9c46628be73fa8854bab0442 | |
parent | e55df1fa2a9be432c5c22d7eec8b395227fa4405 [diff] [blame] |
#6511: ZipFile will now raise BadZipfile when opening an empty or tiny file, like it does for larger invalid files.
diff --git a/Misc/NEWS b/Misc/NEWS index 6731fb9..37ccbeb 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -354,6 +354,9 @@ Library ------- +- Issue #6511: ZipFile now raises BadZipfile (instead of an IOError) when + opening an empty or very small file. + - Issue #6553: Fixed a crash in cPickle.load(), when given a file-like object containing incomplete data.