Message339915
The easiest reproduction of this is:
import tarfile
tarfile.open("/dev/zero", "r:")
(If you use plain "r" you get a hang in attempted lzma decoding.)
I believe this is probably due to a missing 'elif self.offset == 0:' in the 'except EOFHeaderError' exception handling case that almost all of the other exception handlers have.
This appears to be a very long standing issue based on the history of the code. |
|
Date |
User |
Action |
Args |
2019-04-11 02:07:20 | cks | set | recipients:
+ cks |
2019-04-11 02:07:20 | cks | set | messageid: <1554948440.07.0.28828566641.issue36596@roundup.psfhosted.org> |
2019-04-11 02:07:20 | cks | link | issue36596 messages |
2019-04-11 02:07:19 | cks | create | |
|