summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-01-22 15:11:07 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-01-22 15:11:07 (GMT)
commitcc0172c00704e8292c90e02e776b0c193ca75477 (patch)
tree07543135f64a58a54b91ee7fd96de40acbc1780f /Misc
parent791c97a6a89e30d02fe4b0746daec61de44a5ad3 (diff)
parent57f9b7a12420d461e8ea5cc1ba63f80de778c7d5 (diff)
downloadcpython-cc0172c00704e8292c90e02e776b0c193ca75477.zip
cpython-cc0172c00704e8292c90e02e776b0c193ca75477.tar.gz
cpython-cc0172c00704e8292c90e02e776b0c193ca75477.tar.bz2
Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer. Added tests for reading truncated gzip, bzip2, and lzma 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 5d1ffe5..d5bc1bf 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -220,6 +220,9 @@ Core and Builtins
Library
-------
+- Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
+ with truncated header or footer.
+
- Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.