axel escalada f9a43770c8
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
2025-01-17 22:55:55 +01:00
..
2025-01-16 20:47:30 -05:00
2024-12-19 17:10:03 -05:00
2025-01-16 20:42:08 -05:00
2025-01-16 20:42:08 -05:00
2024-02-23 02:37:11 -07:00
2025-01-16 20:42:08 -05:00
2024-07-23 11:43:12 -07:00
2025-01-16 20:42:08 -05:00
2025-01-16 20:42:08 -05:00
2024-07-09 14:25:42 -07:00
2024-03-10 18:13:30 -07:00
2025-01-16 20:47:30 -05:00
2024-08-22 08:44:08 +02:00
2024-03-21 14:11:46 -07:00
2024-11-01 02:04:27 +03:30
2025-01-16 20:42:08 -05:00
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2025-01-16 20:42:08 -05:00
2024-07-19 00:30:32 -07:00
2025-01-16 20:42:08 -05:00
2024-08-29 23:43:52 +01:00
2025-01-16 20:42:08 -05:00
2024-07-09 14:25:42 -07:00
2025-01-16 20:42:08 -05:00