-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Open
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-securityA security issueA security issue
Description
zipfile
supports ZIP archives with prepended data (such as SFX executable or zipapp program). Normally, ZIP archive contains offsets from the beginning of the ZIP file, but if it detects that the central directory is located at other position, it corrects locations of all files by the corresponding offset.
There is also "Zip64 end of central directory record" offset for which is written explicitly and can be used to calculate the size of prepended data. Currently its consistency with the central directory offset is not tested.
Linked PRs
- gh-139700: Check consistency of the zip64 end of central directory record #139702
- [3.14] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) #139706
- [3.13] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) #139708
- [3.12] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) (GH-139708) #139712
- [3.11] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) (GH-139708) #139713
- [3.10] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) (GH-139708) #139714
- [3.9] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) (GH-139708) #139715
Metadata
Metadata
Assignees
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-securityA security issueA security issue
Projects
Status
No status