This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cks
Recipients cks
Date 2019-04-11.02:07:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554948440.07.0.28828566641.issue36596@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-04-11 02:07:20ckssetrecipients: + cks
2019-04-11 02:07:20ckssetmessageid: <1554948440.07.0.28828566641.issue36596@roundup.psfhosted.org>
2019-04-11 02:07:20ckslinkissue36596 messages
2019-04-11 02:07:19ckscreate