CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/05/08 08:07:54

Modified files:
        sys/lib/libz   : crc32.c 

Log message:
Backport an upstream fix for CRC calculation. This fixes Java applications
on some older hardware, see https://github.com/madler/zlib/issues/613

Pointed out by tj and sthen

commit ec3df00224d4b396e2ac6586ab5d25f673caa4c2
Author: Mark Adler <mad...@alumni.caltech.edu>
Date:   Wed Mar 30 11:14:53 2022 -0700

Correct incorrect inputs provided to the CRC functions.

The previous releases of zlib were not sensitive to incorrect CRC
inputs with bits set above the low 32. This commit restores that
behavior, so that applications with such bugs will continue to
operate as before.

Reply via email to