Skip to content
Commit 31e5ad1c authored by François Degros's avatar François Degros Committed by Copybara-Service
Browse files

[zip] ZipReader correctly reports file size on 32-bit devices

Fixed ZipReader to use minizip's unzGetCurrentFileInfo64() instead of
unzGetCurrentFileInfo(). This allows to use 64-bit file sizes even on
32-bit devices.

Enhanced test ZipTest.DISABLED_BigFile.

BUG=chromium:1298347
TEST=autoninja -C out/Default zlib_unittests && out/Default/zlib_unittests --single-process-tests --gtest_also_run_disabled_tests

Change-Id: I468ebebac369d8df3973919b5818f33873367d03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3468880


Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: François Degros <fdegros@chromium.org>
Cr-Commit-Position: refs/heads/main@{#972322}
NOKEYCHECK=True
GitOrigin-RevId: 1d24e7d817e06938a07d907341895c581a6a0d2b
parent 901a5d97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment