Skip to content
Commit 7e84479e authored by joaoe@opera.com's avatar joaoe@opera.com
Browse files

Fixed uncompressing files with wrong uncompressed size set.

A zip file carries some metadata for each archived file, including the total
uncompressed size. If that size was incorrect, therefore the compressed file
being different in size when unpacking, the minizip code would fail with a
CRC error. Every other zip utility handles these files, so should the minizip
code for safety sake.

BUG=359516

Review URL: https://codereview.chromium.org/222243003

Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 764f0715d75c8d49339aa73d0ee2feb75d63473f
parent 16b1df30
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