[zip] Check CRC
ZipReader's Extract* methods check the file CRC, and report any error accordingly. Added tests: ZipReaderTest.WrongCrc ZipReaderTest.ExtractToFileAsync_WrongCrc BUG=chromium:1296826 TEST=autoninja -C out/Default zlib_unittests && out/Default/zlib_unittests Change-Id: Id3b253141601d14b55f4cbdfb4b0e0e35df7dbc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3458662 Reviewed-by: Noel Gordon <noel@chromium.org> Commit-Queue: François Degros <fdegros@chromium.org> Cr-Commit-Position: refs/heads/main@{#970364} NOKEYCHECK=True GitOrigin-RevId: 07568a33cc5475e7cf5e36c807e1b18fe586eb4f
Loading
Please register or sign in to comment