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 efloehr
Recipients akuchling, efloehr, lars.gustaebel, tlynn
Date 2014-02-24.03:10:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393211448.43.0.391952163417.issue15858@psf.upfronthosting.co.za>
In-reply-to
Content
I have attached a patch file for test_tarfile.py that uses the attached 'bad.tar' to test this issue.

After applying this test patch, put 'bad.tar' in Lib/test with the name 'issue15858.tar'.

This tests Tarfile.next(), but the issue can be seen via the command line interface, which uses .next() under the covers:

Pre-patch:
$ ./python -m tarfile -l Lib/test/issue15858.tar 
foo/ 

Post-patch:
$ ./python -m tarfile -l Lib/test/issue15858.tar 
foo/ 
foo/a
History
Date User Action Args
2014-02-24 03:10:48efloehrsetrecipients: + efloehr, akuchling, tlynn, lars.gustaebel
2014-02-24 03:10:48efloehrsetmessageid: <1393211448.43.0.391952163417.issue15858@psf.upfronthosting.co.za>
2014-02-24 03:10:48efloehrlinkissue15858 messages
2014-02-24 03:10:48efloehrcreate