diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-22 15:11:07 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-22 15:11:07 (GMT) |
commit | cc0172c00704e8292c90e02e776b0c193ca75477 (patch) | |
tree | 07543135f64a58a54b91ee7fd96de40acbc1780f /Misc | |
parent | 791c97a6a89e30d02fe4b0746daec61de44a5ad3 (diff) | |
parent | 57f9b7a12420d461e8ea5cc1ba63f80de778c7d5 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |