]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop
authorLars Gustäbel <lars@gustaebel.de>
Sun, 22 Mar 2009 20:09:33 +0000 (20:09 +0000)
committerLars Gustäbel <lars@gustaebel.de>
Sun, 22 Mar 2009 20:09:33 +0000 (20:09 +0000)
commit2020a59563caeda95023307a4c830fe03c338990
treedbd8152d0b445bbebd60a48eecaadf0fdc687a37
parentb364bfe2f406a99a83fc5b1073726ecbaa63f50f
Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop
forever on incomplete input. That caused tarfile.open() to hang when used
with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or
partial bzip2 compressed data.
Lib/tarfile.py
Lib/test/test_tarfile.py
Misc/NEWS