]> granicus.if.org Git - python/commit
Issue #12841: Fix tarfile extraction of non-existent uids/gids.
authorLars Gustäbel <lars@gustaebel.de>
Mon, 5 Sep 2011 15:04:18 +0000 (17:04 +0200)
committerLars Gustäbel <lars@gustaebel.de>
Mon, 5 Sep 2011 15:04:18 +0000 (17:04 +0200)
commit8babfdfd456f6b849426a2e9b027cc18f298d442
tree7ed0d05cd5a791bd065ceec2b06ec6db74ed068e
parentcbce2c01a0357fe6acad5e290815d66e26a66481
Issue #12841: Fix tarfile extraction of non-existent uids/gids.

tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
Lib/tarfile.py
Misc/NEWS