[issue29612] TarFile.extract() suffers from hard links inside tarball

2020-01-19 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +ethan.furman versions: +Python 3.7, Python 3.8, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue29612] TarFile.extract() suffers from hard links inside tarball

2019-10-27 Thread TROUVERIE Joachim
Change by TROUVERIE Joachim : -- pull_requests: +16486 pull_request: https://github.com/python/cpython/pull/16958 ___ Python tracker ___

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-08-07 Thread TROUVERIE Joachim
Change by TROUVERIE Joachim : -- pull_requests: +8192 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-06-21 Thread Joachim Trouverie
Joachim Trouverie added the comment: Travis build failed for a reason unrelated to my changes. I relaunched it using an empty commit. If anyone could validate my changes I would rebase to validate my work. -- ___ Python tracker

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-03-28 Thread Joachim Trouverie
Joachim Trouverie added the comment: Anyone for a review ? -- ___ Python tracker ___

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-02-26 Thread Joachim Trouverie
Joachim Trouverie added the comment: I created a PR for this issue for Python 2.7 (https://github.com/python/cpython/pull/5753/files). I just skip the link creation if the target path is equals to the link target. I don't see any corner case where this would be

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-02-19 Thread TROUVERIE Joachim
Change by TROUVERIE Joachim : -- keywords: +patch pull_requests: +5532 stage: -> patch review ___ Python tracker ___

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-02-19 Thread Joachim Trouverie
Joachim Trouverie added the comment: Is there anybody working on this issue or can I create a branch concerning it ? -- nosy: +jtrouverie ___ Python tracker

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-02-16 Thread Larry Cook
Larry Cook added the comment: I recently hit this with Python 2.7.5 and 2.7.13. It has a very simple repro. Just specify the same file twice on the command line to tar (GNU 1.26): % tar cvf test.tar test.txt test.txt test.txt test.txt % tar tvf test.tar -rw-r--r--

[issue29612] TarFile.extract() suffers from hard links inside tarball

2017-03-10 Thread Thomas Guettler
Thomas Guettler added the comment: I have the same issue on Python 2.7.12 (Ubuntu 16.04) I tried to execute tartest.py. But I could not find a way how to create the tar which is needed for tartest.py. -- nosy: +guettli ___ Python tracker

[issue29612] TarFile.extract() suffers from hard links inside tarball

2017-02-21 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list

[issue29612] TarFile.extract() suffers from hard links inside tarball

2017-02-21 Thread Jussi Judin
New submission from Jussi Judin: I managed to create a tarball that brought out quite nasty behavior with tarfile.TarFile.extract() and tarfile.TarFile.extractall() functions when there are hard links inside a tarball that point to themselves with a file that is included in the tarball. In