We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeebdc8 commit f5544e6Copy full SHA for f5544e6
Lib/test/test_tarfile.py
@@ -3786,12 +3786,10 @@ def test_parent_symlink(self):
3786
self.expect_file('parent/evil')
3787
3788
@symlink_test
3789
+ @os_helper.skip_unless_symlink
3790
def test_realpath_limit_attack(self):
3791
# (CVE-2025-4517)
3792
- if not os_helper.can_symlink():
3793
- raise SkipTest('requires symlinking ability')
3794
-
3795
with ArchiveMaker() as arc:
3796
# populate the symlinks and dirs that expand in os.path.realpath()
3797
# The number is chosen so that in common cases, the unexpanded
0 commit comments