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 <>
The easiest reproduction of this is:

    import tarfile"/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:20ckssetrecipients: + cks
2019-04-11 02:07:20ckssetmessageid: <>
2019-04-11 02:07:20ckslinkissue36596 messages
2019-04-11 02:07:19ckscreate