Skip to content

[3.9] gh-107845: Fix symlink handling for tarfile.data_filter (GH-107846) - #108274

Merged
ambv merged 3 commits into
python:3.9from
encukou:tarfile-link-fix-3.9
Aug 22, 2023
Merged

ambv merged 3 commits into
python:3.9from
encukou:tarfile-link-fix-3.9

Conversation

@encukou

@encukou encukou commented Aug 22, 2023 •

Copy link
Copy Markdown
Member

(cherry picked from commit acbd3f9)

Co-authored-by: Petr Viktorin encukou@gmail.com
Co-authored-by: Victor Stinner vstinner@python.org
Co-authored-by: Lumír 'Frenzy' Balhar frenzy.madness@gmail.com

This should only be merged if it's accepted for 3.10: #108210

miss-islington and others added 2 commits August 22, 2023 11:07
…ythonGH-107846) (pythonGH-108209)

pythongh-107845: Fix symlink handling for tarfile.data_filter (pythonGH-107846)

(cherry picked from commit acbd3f9)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Lumír 'Frenzy' Balhar <frenzy.madness@gmail.com>
`@symlink_test` skip tests on wasm, where symlinks behave inconsistently.
Python 3.10 doesn't do wasm and doesn't have the decorator.
@encukou

encukou commented Aug 22, 2023

Copy link
Copy Markdown
Member Author

@ambv, please consider this fix for a security fix for 3.9.

@ambv
ambv merged commit 42deeab into python:3.9 Aug 22, 2023
carlosroman pushed a commit to DataDog/cpython that referenced this pull request Oct 11, 2023
…ythonGH-107846) (python#108274)

(cherry picked from commit acbd3f9)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Lumír 'Frenzy' Balhar <frenzy.madness@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants