History log of /openbsd-current/sys/lib/libz/infback.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.12 25-Apr-2023 tb

zlib: sync with src


Revision tags: OPENBSD_7_3_BASE
# 1.11 23-Oct-2022 tb

Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who


# 1.10 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.9 08-May-2022 tb

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.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.8 22-Jul-2021 tb

Add sizes for free() in zlib

Rebased version of a diff from miod who described it as follows:

This tries to keep diffability against upstream, hence a questionable
choice of the size type for zcfree() - but all sizes should fit in 32
bits anyway.

Since all zcfree routines used in the tree cope with NULL arguments
(including the various alloc.c used by the boot blocks), I have
simplified TRY_FREE to compensate for the growth.

Reminded by and ok mpi


# 1.7 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.6 01-Jun-2019 jca

Fix warnings when building zlib with ZLIB_CONST defined

Probably not very useful (given the lack of feedback) but feels more
correct. Kernel part tested with option ZLIB_CONST.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.5 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.4 03-Dec-2004 djm

zlib-1.21 here too


Revision tags: OPENBSD_3_6_BASE
# 1.3 26-Aug-2004 otto

Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.
ok miller@ henning@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 16-Dec-2003 millert

branches: 1.2.2; 1.2.4;
Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.h


# 1.1 16-Dec-2003 millert

Update to zlib 1.2.1


# 1.11 23-Oct-2022 tb

Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who


# 1.10 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.9 08-May-2022 tb

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.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.8 22-Jul-2021 tb

Add sizes for free() in zlib

Rebased version of a diff from miod who described it as follows:

This tries to keep diffability against upstream, hence a questionable
choice of the size type for zcfree() - but all sizes should fit in 32
bits anyway.

Since all zcfree routines used in the tree cope with NULL arguments
(including the various alloc.c used by the boot blocks), I have
simplified TRY_FREE to compensate for the growth.

Reminded by and ok mpi


# 1.7 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.6 01-Jun-2019 jca

Fix warnings when building zlib with ZLIB_CONST defined

Probably not very useful (given the lack of feedback) but feels more
correct. Kernel part tested with option ZLIB_CONST.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.5 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.4 03-Dec-2004 djm

zlib-1.21 here too


Revision tags: OPENBSD_3_6_BASE
# 1.3 26-Aug-2004 otto

Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.
ok miller@ henning@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 16-Dec-2003 millert

branches: 1.2.2; 1.2.4;
Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.h


# 1.1 16-Dec-2003 millert

Update to zlib 1.2.1


# 1.10 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.9 08-May-2022 tb

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.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.8 22-Jul-2021 tb

Add sizes for free() in zlib

Rebased version of a diff from miod who described it as follows:

This tries to keep diffability against upstream, hence a questionable
choice of the size type for zcfree() - but all sizes should fit in 32
bits anyway.

Since all zcfree routines used in the tree cope with NULL arguments
(including the various alloc.c used by the boot blocks), I have
simplified TRY_FREE to compensate for the growth.

Reminded by and ok mpi


# 1.7 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.6 01-Jun-2019 jca

Fix warnings when building zlib with ZLIB_CONST defined

Probably not very useful (given the lack of feedback) but feels more
correct. Kernel part tested with option ZLIB_CONST.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.5 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.4 03-Dec-2004 djm

zlib-1.21 here too


Revision tags: OPENBSD_3_6_BASE
# 1.3 26-Aug-2004 otto

Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.
ok miller@ henning@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 16-Dec-2003 millert

branches: 1.2.2; 1.2.4;
Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.h


# 1.1 16-Dec-2003 millert

Update to zlib 1.2.1


# 1.9 08-May-2022 tb

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.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.8 22-Jul-2021 tb

Add sizes for free() in zlib

Rebased version of a diff from miod who described it as follows:

This tries to keep diffability against upstream, hence a questionable
choice of the size type for zcfree() - but all sizes should fit in 32
bits anyway.

Since all zcfree routines used in the tree cope with NULL arguments
(including the various alloc.c used by the boot blocks), I have
simplified TRY_FREE to compensate for the growth.

Reminded by and ok mpi


# 1.7 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.6 01-Jun-2019 jca

Fix warnings when building zlib with ZLIB_CONST defined

Probably not very useful (given the lack of feedback) but feels more
correct. Kernel part tested with option ZLIB_CONST.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.5 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.4 03-Dec-2004 djm

zlib-1.21 here too


Revision tags: OPENBSD_3_6_BASE
# 1.3 26-Aug-2004 otto

Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.
ok miller@ henning@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 16-Dec-2003 millert

branches: 1.2.2; 1.2.4;
Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.h


# 1.1 16-Dec-2003 millert

Update to zlib 1.2.1


# 1.8 22-Jul-2021 tb

Add sizes for free() in zlib

Rebased version of a diff from miod who described it as follows:

This tries to keep diffability against upstream, hence a questionable
choice of the size type for zcfree() - but all sizes should fit in 32
bits anyway.

Since all zcfree routines used in the tree cope with NULL arguments
(including the various alloc.c used by the boot blocks), I have
simplified TRY_FREE to compensate for the growth.

Reminded by and ok mpi


# 1.7 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.6 01-Jun-2019 jca

Fix warnings when building zlib with ZLIB_CONST defined

Probably not very useful (given the lack of feedback) but feels more
correct. Kernel part tested with option ZLIB_CONST.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.5 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.4 03-Dec-2004 djm

zlib-1.21 here too


Revision tags: OPENBSD_3_6_BASE
# 1.3 26-Aug-2004 otto

Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.
ok miller@ henning@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 16-Dec-2003 millert

branches: 1.2.2; 1.2.4;
Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.h


# 1.1 16-Dec-2003 millert

Update to zlib 1.2.1


# 1.7 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.6 01-Jun-2019 jca

Fix warnings when building zlib with ZLIB_CONST defined

Probably not very useful (given the lack of feedback) but feels more
correct. Kernel part tested with option ZLIB_CONST.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.5 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.4 03-Dec-2004 djm

zlib-1.21 here too


Revision tags: OPENBSD_3_6_BASE
# 1.3 26-Aug-2004 otto

Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.
ok miller@ henning@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 16-Dec-2003 millert

branches: 1.2.2; 1.2.4;
Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.h


# 1.1 16-Dec-2003 millert

Update to zlib 1.2.1


# 1.6 01-Jun-2019 jca

Fix warnings when building zlib with ZLIB_CONST defined

Probably not very useful (given the lack of feedback) but feels more
correct. Kernel part tested with option ZLIB_CONST.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.5 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.4 03-Dec-2004 djm

zlib-1.21 here too


Revision tags: OPENBSD_3_6_BASE
# 1.3 26-Aug-2004 otto

Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.
ok miller@ henning@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 16-Dec-2003 millert

branches: 1.2.2; 1.2.4;
Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.h


# 1.1 16-Dec-2003 millert

Update to zlib 1.2.1


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.5 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


Revision tags: OPENBSD_3_7_BASE
# 1.4 03-Dec-2004 djm

zlib-1.21 here too


Revision tags: OPENBSD_3_6_BASE
# 1.3 26-Aug-2004 otto

Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.
ok miller@ henning@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 16-Dec-2003 millert

branches: 1.2.2; 1.2.4;
Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.h


# 1.1 16-Dec-2003 millert

Update to zlib 1.2.1