Skip to content

Tarfile.extract doesn't fully respect the filter parameter #151987

Description

@encukou

Bug report

In the Tarfile.extract function, the filter parameter is not called properly when extracting a hardlink whose target is not present (and the file is extracted from the archive rather than linked).

Linked PRs

Metadata

Metadata

Assignees

Labels

3.10only security fixes3.11only security fixes3.12only security fixes3.13bugs and security fixes3.14bugs and security fixes3.16new features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-securityA security issue
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions