OpenBSD cvs log

created 2022-05-14T13:36:14Z
begin 2022-05-08T00:00:00Z
end 2022-05-09T00:00:00Z
path src/sys
commits 2

date 2022-05-08T14:05:29Z
author tb
files src/sys/lib/libz/crc32.c log diff annotate
src/sys/lib/libz/crc32.h log diff annotate
src/sys/lib/libz/deflate.c log diff annotate
src/sys/lib/libz/deflate.h log diff annotate
src/sys/lib/libz/infback.c log diff annotate
src/sys/lib/libz/inffast.c log diff annotate
src/sys/lib/libz/inflate.c log diff annotate
src/sys/lib/libz/inflate.h log diff annotate
src/sys/lib/libz/inftrees.c log diff annotate
src/sys/lib/libz/trees.c log diff annotate
src/sys/lib/libz/zlib.h log diff annotate
src/sys/lib/libz/zutil.c log diff annotate
src/sys/lib/libz/zutil.h log diff annotate
message Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.

date 2022-05-08T14:07:54Z
author tb
files src/sys/lib/libz/crc32.c log diff annotate
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 <[email protected]>
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.