https://bugs.kde.org/show_bug.cgi?id=384622

--- Comment #3 from Ragnar Thomsen <rthoms...@gmail.com> ---
Git commit a9147d82b3d14daf3885447987dfe9e61815ede8 by Ragnar Thomsen.
Committed on 21/10/2017 at 17:32.
Pushed by rthomsen into branch 'master'.

libzip: Improve test integrity function

The old test implementation only opens the archive with some additional
checks, but fails to detect archives with CRC errors for entries.

We now read each entry and check the CRC checksum against the one given
in the file header. We use zlib's crc32() function to compute the
checksum.
Differential Revision: D8400

M  +7    -1    plugins/libzipplugin/CMakeLists.txt
M  +28   -0    plugins/libzipplugin/libzipplugin.cpp

https://commits.kde.org/ark/a9147d82b3d14daf3885447987dfe9e61815ede8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to