]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 22 Jan 2013 15:01:59 +0000 (17:01 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 22 Jan 2013 15:01:59 +0000 (17:01 +0200)
commit7c3922f44c226eac29a497648bbc3cc8702905a8
tree395bde42013572a48d3cf30ddc6d28fdd0cc1cb7
parentfc6e8aabf58d748369e0d3b08495ac35a67d2870
Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.
Added tests for reading truncated gzip and bzip2 files.
Lib/gzip.py
Lib/test/test_bz2.py
Lib/test/test_gzip.py
Misc/NEWS