gh-151987: Pass filter_function to TarFile._extract_one() during .extract()#151988
Conversation
|
🤖 New build scheduled with the buildbot fleet by @encukou for commit c2831a9 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F151988%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
| @unittest.skipUnless(hasattr(os, 'geteuid'), "missing os.geteuid") | ||
| @support.subTests('link_type', (tarfile.SYMTYPE, tarfile.LNKTYPE)) | ||
| def test_chown_links_on_extractall(self, link_type): | ||
| with ArchiveMaker() as arc: |
There was a problem hiding this comment.
These could be refactored, but due to the nature of this PR I don't think we need to delay with such things.
There was a problem hiding this comment.
OK, if you think we should treat it as a security issue.
There was a problem hiding this comment.
I thought that was what we decided by accepting python/cpython#GHSA-379m-ccvw-g66r. It does come out as low, so I don't have any opinions as to whether it needs an advisory (other than the news entry).
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11, 3.12, 3.13, 3.14, 3.15. |
|
GH-152608 is a backport of this pull request to the 3.15 branch. |
|
GH-152609 is a backport of this pull request to the 3.14 branch. |
|
GH-152610 is a backport of this pull request to the 3.13 branch. |
|
GH-152611 is a backport of this pull request to the 3.12 branch. |
|
GH-152612 is a backport of this pull request to the 3.11 branch. |
|
GH-152613 is a backport of this pull request to the 3.10 branch. |
Uh oh!
There was an error while loading. Please reload this page.