Patches item #1262036, was opened at 2005-08-17 14:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1262036&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Lars Gustäbel (gustaebel)
Assigned to: Nobody/Anonymous (nobody)
Summary: tarfile: fix for bug #1257255

Initial Comment:
(See bug #1257255 for a detailed description of the
problem.)
While the problem of the OP is that tarfile won't work
when the current working dir has been removed from the
filesystem, the more important one for me is that the
test in the add() method, that should prevent the
archive from being added to itself, will only succeed
by accident.
So, I decided to save the TarFile's name as an absolute
path from the beginning to ensure that the archive
cannot be added to itself even if the cwd changed
during the operation.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1262036&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to