[issue1531] tarfile.open(fileobj=f) and bad metadata of the first file within the archive

Lars Gustäbel report at bugs.python.org
Sat Dec 1 22:15:56 CET 2007


Lars Gustäbel added the comment:

I fixed this in the trunk (r59260) and release25-maint branch (r59261).
Thanks for the report. If you cannot wait for the next release, I
recommend you use mode "r|" as a workaround.

BTW, 756 is absolutely no realistic example value for the position of
the second member. A header block must start on a 512-byte boundary.

----------
resolution:  -> fixed
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1531>
__________________________________


More information about the Python-bugs-list mailing list