Skip to content

[3.10] gh-157190: Fix tarfile data/tar filter bypass via hard link to a symlink (GH-157191) - #158457

Merged
pablogsal merged 1 commit into
python:3.10from
freakboy3742:backport-b8f23e3-3.10
Sep 29, 2026
Merged

pablogsal merged 1 commit into
python:3.10from
freakboy3742:backport-b8f23e3-3.10

Conversation

@freakboy3742

@freakboy3742 freakboy3742 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

The backport to 3.12 and below includes a NEWS entry and a hard symlink test helper.

(cherry picked from commit b8f23e3)

…rd link to a symlink (pythonGH-157191)

The backport to 3.13 and below includes a NEWS entry.

Co-authored-by: Stan Ulbrych <stan@python.org>
(cherry picked from commit b8f23e3)
@pablogsal
pablogsal merged commit 197663d into python:3.10 Sep 29, 2026
15 checks passed
@freakboy3742
freakboy3742 deleted the backport-b8f23e3-3.10 branch September 29, 2026 23:45
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
…rd link to a symlink (pythonGH-157191) (python#158457)

The backport to 3.13 and below includes a NEWS entry.

(cherry picked from commit b8f23e3)

Co-authored-by: Stan Ulbrych <stan@python.org>
(cherry picked from commit 197663d)

3.9.25.x: 3.9 has no test.support.os_helper; can_hardlink() and
skip_unless_hardlink() are added to test.support next to
skip_unless_symlink() instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants