summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-07-28 22:15:30 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-07-28 22:15:30 (GMT)
commit3e5b027a64e9eccc8d2100e717c19f61d3a51d62 (patch)
tree22a56ccd993c67db9c46628be73fa8854bab0442 /Misc
parente55df1fa2a9be432c5c22d7eec8b395227fa4405 (diff)
downloadcpython-3e5b027a64e9eccc8d2100e717c19f61d3a51d62.zip
cpython-3e5b027a64e9eccc8d2100e717c19f61d3a51d62.tar.gz
cpython-3e5b027a64e9eccc8d2100e717c19f61d3a51d62.tar.bz2
#6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
like it does for larger invalid files.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6731fb9..37ccbeb 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -354,6 +354,9 @@ Core and Builtins
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.