Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
During review of#112966 and#103263 I found inconsistency betweenzipfile andtarfile. Whenzipfile tries to extract a directory on top of an existing file, it fails. Whentarfile tries to extract a directory on top of an existing file, it silently returns, keeping an existing file. This is an obvious bug intarfile.
Both modules should be more cautious when extract on top of symlinks, but this is a different issue.
Linked PRs
- gh-114959: tarfile: do not ignore errors when extract a directory on top of a file #114960
- [3.12] gh-114959: tarfile: do not ignore errors when extract a directory on top of a file (GH-114960) #114963
- [3.11] gh-114959: tarfile: do not ignore errors when extract a directory on top of a file (GH-114960) #114964
Metadata
Metadata
Assignees
Labels
Projects
Status
Done