summaryrefslogtreecommitdiff
path: root/src/minizip/ioapi.h.diff
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2023-08-18 11:05:33 +0200
committerXavier Roche <roche@httrack.com>2023-11-18 11:01:28 +0100
commit8316bc0e974c2a84a35f2175d413804c9b5be90c (patch)
tree83046f6fdea8417ec9f001487d622e66ba0e3681 /src/minizip/ioapi.h.diff
parent6b56ea91a4ed4c8d8f14ee7e6f5a1207061c69d9 (diff)
Reject overflows of zip header fields in minizip.
This checks the lengths of the file name, extra field, and comment that would be put in the zip headers, and rejects them if they are too long. They are each limited to 65535 bytes in length by the zip format. This also avoids possible buffer overflows if the provided fields are too long. (cherry picked from commit 73331a6a0481067628f065ffe87bb1d8f787d10c)
Diffstat (limited to 'src/minizip/ioapi.h.diff')
0 files changed, 0 insertions, 0 deletions