aboutsummaryrefslogtreecommitdiff
path: root/lib/std/process.zig
diff options
context:
space:
mode:
authoraxel escalada <87334103+axlEscalada@users.noreply.github.com>2025-01-17 18:55:55 -0300
committerGitHub <noreply@github.com>2025-01-17 22:55:55 +0100
commitf9a43770c87d4475a8e05b6539917ee26172b7c6 (patch)
tree9b46610062fd58a0d15d441308f3d74c448ed612 /lib/std/process.zig
parentc748eb2416d067688d1f4f40af78478e7dfdc4bf (diff)
downloadzig-f9a43770c87d4475a8e05b6539917ee26172b7c6.tar.gz
zig-f9a43770c87d4475a8e05b6539917ee26172b7c6.zip
std.zip: Add ZIP64 support for local file header extra field
This PR adds support for handling ZIP64 format in local file headers, when a zip file contains entries where the compressed or uncompressed size fields are set to 0xFFFFFFFF, and the extra field contains ZIP64 extended information tag (0x0001) The code now: Reads the actual sizes from the ZIP64 extra field data Validates these sizes against the entry's compressed and uncompressed sizes Zip file format spec.: https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT This change allows proper extraction of ZIP files that use ZIP64 format in their local file headers. Fixes: #22329
Diffstat (limited to 'lib/std/process.zig')
0 files changed, 0 insertions, 0 deletions