[issue7011] tarinfo has problems with longlinks

Patrick Gerken report at bugs.python.org
Mon Sep 28 11:49:20 CEST 2009


Patrick Gerken <patrick.gerken at computer.org> added the comment:

doh, I only searched for open bugs. Not for closed.
This ticket is a dublicate of http://bugs.python.org/issue1471427
and fixed in python 2.5.
If somebody has similar problems, here is a quickfix:
I finally was able to reproduce the issue. It only happens when the path
without the filename but the trailing slash is exactly 100 chars long.
Then, because of the trailing slash, tarfile makes this thing a
directory, and if the file itself was not empty, the next read cannot be
parsed as a tar file. Since I am bound to 2.4 I will rename the directories.

----------
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7011>
_______________________________________


More information about the Python-bugs-list mailing list