]> granicus.if.org Git - python/commit
Merge from 3.2: Issue #12926: Fix a bug in tarfile's link extraction.
authorLars Gustäbel <lars@gustaebel.de>
Thu, 5 Jan 2012 17:53:00 +0000 (18:53 +0100)
committerLars Gustäbel <lars@gustaebel.de>
Thu, 5 Jan 2012 17:53:00 +0000 (18:53 +0100)
commit8f771a47168053aebe7ef115b6a4a319cec041f2
treef2a8e87e11effbf3fc0d8d9a5c8143cd2de04530
parentfa26c4251ed5abeb829738b6b7c1cdefa463a6f5
parentdee45e20f67f8d81de2d9c003ab18660036d5d73
Merge from 3.2: Issue #12926: Fix a bug in tarfile's link extraction.

On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.
Lib/tarfile.py
Misc/NEWS