| #
a225ed82 |
| 01-Aug-2024 |
tb <tb@openbsd.org> |
sync with upstream
This adds a new public API, deflateUsed(), so is technically a minor bump. Nothing will be using this anytime soon, so no shared library bump.
discussed with deraadt during c2k24
|
| #
d62e7792 |
| 15-Mar-2024 |
tb <tb@openbsd.org> |
zlib: sync with upstream
More Windows #ifdef shuffling. Only one change relevant for OpenBSD: Make deflateBound() more conservative and handle Z_STREAM_END.
|
| #
312b32e0 |
| 10-Feb-2024 |
tb <tb@openbsd.org> |
libz: sync with upstream
- fix type of local variable in deflate_stored() - more Windows compat shuffling - wrap overlong line in gzread
|
| #
41a6a251 |
| 28-Jan-2024 |
tb <tb@openbsd.org> |
Pull in some post 1.3.1 upstream commits
This is only cosmetic as far as OpenBSD is concerned.
|
| #
d5e7bdb5 |
| 23-Jan-2024 |
tb <tb@openbsd.org> |
Update to zlib 1.3.1
Since we already pulled in all fixes, this only bumps version/magic numbers and copyright years. The fixes relevant to OpenBSD are:
- Fix bug in inflateSync() for data held in
Update to zlib 1.3.1
Since we already pulled in all fixes, this only bumps version/magic numbers and copyright years. The fixes relevant to OpenBSD are:
- Fix bug in inflateSync() for data held in bit buffer - Add LIT_MEM define to use more memory for a small deflate speedup - Add bounds checking to ERR_MSG() macro, used by zError() - Various portability and appearance improvements
show more ...
|
| #
59001c6a |
| 21-Jan-2024 |
tb <tb@openbsd.org> |
Sync with upstream as of Jan 20
No change of compiled code: the bug fix in check_match() affects ZLIB_DEBUG builds only and the Z_ARG macro is unused.
|
| #
f5252e2d |
| 21-Jan-2024 |
tb <tb@openbsd.org> |
libz: sync with upstream's develop branch as of Jan 18
|
| #
62a6fda7 |
| 18-Nov-2023 |
tb <tb@openbsd.org> |
libz sync with develop branch, discussed with deraadt
Apart from cosmetics, this includes the following commits:
Add LIT_MEM define to use more memory for a small deflate speedup.
A bug fix in zli
libz sync with develop branch, discussed with deraadt
Apart from cosmetics, this includes the following commits:
Add LIT_MEM define to use more memory for a small deflate speedup.
A bug fix in zlib 1.2.12 resulted in a slight slowdown (1-2%) of deflate. This commit provides the option to #define LIT_MEM, which uses more memory to reverse most of that slowdown. The memory for the pending buffer and symbol buffers is increased by 25%, which increases the total memory usage with the default parameters by about 6%.
https://github.com/madler/zlib/commit/ac8f12c97d1afd9bafa9c710f827d40a407d3266
Fix bug in inflateSync() for data held in bit buffer.
https://github.com/madler/zlib/commit/5af7cef45eeef86ddf6ab00b4e363c1eecaf47b6
show more ...
|
| #
f0c5c122 |
| 20-Aug-2023 |
tb <tb@openbsd.org> |
Bump zlib version to 1.3
We have been pulling in all actual changes over the past months, so this is only a version number bump. The relevant entries of the ChangeLog are:
* Building using K&R (p
Bump zlib version to 1.3
We have been pulling in all actual changes over the past months, so this is only a version number bump. The relevant entries of the ChangeLog are:
* Building using K&R (pre-ANSI) function definitions is no longer supported. * Fixed a bug in deflateBound() for level 0 and memLevel 9. * Fixed a bug when gzungetc() is used immediately after gzopen(). * Fixed a bug when using gzflush() with a very small buffer. * Fixed a crash when gzsetparams() is attempted for a transparent write.
ok deraadt miod millert
show more ...
|
| #
b91cf01f |
| 13-Aug-2023 |
tb <tb@openbsd.org> |
Conditionally disable MSAN
from upstream
|
| #
a04ea15d |
| 25-Apr-2023 |
tb <tb@openbsd.org> |
Update libz to the HEAD of the develop branch
This mostly moves from K&R prototypes to ANSI prototypes and includes a handful of bug fixes that are nice to have. The corresponding sys commit will al
Update libz to the HEAD of the develop branch
This mostly moves from K&R prototypes to ANSI prototypes and includes a handful of bug fixes that are nice to have. The corresponding sys commit will allow us to undo some hacks that jca applied to make the kernel build with clang 15.
discussed with deraadt
show more ...
|
| #
46c3d7fc |
| 23-Oct-2022 |
tb <tb@openbsd.org> |
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
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
show more ...
|
| #
8bda5813 |
| 20-Oct-2022 |
tb <tb@openbsd.org> |
Update base libz to 1.2.13
This update contains a few bugfixes (some of which we have already backported to 1.2.12) and a ton of cosmetic changes. The relevant bits of the ChangeLog are:
- Repair p
Update base libz to 1.2.13
This update contains a few bugfixes (some of which we have already backported to 1.2.12) and a ton of cosmetic changes. The relevant bits of the ChangeLog are:
- Repair prototypes and exporting of new CRC functions - Have infback() deliver all of the available output up to any error - Fix a bug when getting a gzip header extra field with inflate() - Fix bug in block type selection when Z_FIXED used - Tighten deflateBound bounds - Remove deleted assembler code references - Various portability and appearance improvements
Tested on amd64 and arm64 by me and on sparc64 by kn.
show more ...
|
| #
703d4924 |
| 08-May-2022 |
tb <tb@openbsd.org> |
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.
|
| #
407eca13 |
| 25-Mar-2022 |
tb <tb@openbsd.org> |
Improve error checking in deflatePrime()
This is a small follow-up commit to the previous commit.
ok mbuhl millert
commit 4346a16853e19b45787ce933666026903fb8f3f8 Author: Mark Adler <madler@alumni
Improve error checking in deflatePrime()
This is a small follow-up commit to the previous commit.
ok mbuhl millert
commit 4346a16853e19b45787ce933666026903fb8f3f8 Author: Mark Adler <madler@alumni.caltech.edu> Date: Tue Apr 17 22:44:41 2018 -0700
Assure that the number of bits for deflatePrime() is valid.
https://github.com/madler/zlib/commit/4346a16853e19b45787ce933666026903fb8f3f8
show more ...
|
| #
f0c342b3 |
| 25-Mar-2022 |
tb <tb@openbsd.org> |
Fix memory corruption bug in zlib
zlib has a crashing bug. The bug fix has been sitting in the unreleased develop branch for nearly four years. Pull in this fix.
ok mbuhl millert
Reported by Tavis
Fix memory corruption bug in zlib
zlib has a crashing bug. The bug fix has been sitting in the unreleased develop branch for nearly four years. Pull in this fix.
ok mbuhl millert
Reported by Tavis Ormandy on oss-security: https://marc.info/?l=oss-security&m=164809382107156&w=2
commit 5c44459c3b28a9bd3283aaceab7c615f8020c531 Author: Mark Adler <madler@alumni.caltech.edu> Date: Tue Apr 17 22:09:22 2018 -0700
Fix a bug that can crash deflate on some input when using Z_FIXED.
This bug was reported by Danilo Ramos of Eideticom, Inc. It has lain in wait 13 years before being found! The bug was introduced in zlib 1.2.2.2, with the addition of the Z_FIXED option. That option forces the use of fixed Huffman codes. For rare inputs with a large number of distant matches, the pending buffer into which the compressed data is written can overwrite the distance symbol table which it overlays. That results in corrupted output due to invalid distances, and can result in out-of-bound accesses, crashing the application.
The fix here combines the distance buffer and literal/length buffers into a single symbol buffer. Now three bytes of pending buffer space are opened up for each literal or length/distance pair consumed, instead of the previous two bytes. This assures that the pending buffer cannot overwrite the symbol table, since the maximum fixed code compressed length/distance is 31 bits, and since there are four bytes of pending space for every three bytes of symbol space.
https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531
show more ...
|
| #
b1b1dcfb |
| 24-Mar-2022 |
bluhm <bluhm@openbsd.org> |
Backport zlib fix for the multi line CLEAR_HASH macro. There is an else branch where only half of the macro is executed conditionally. Acording to upstream comment this has only little impact. https
Backport zlib fix for the multi line CLEAR_HASH macro. There is an else branch where only half of the macro is executed conditionally. Acording to upstream comment this has only little impact. https://github.com/madler/zlib/commit/38e8ce32afbaa82f67d992b9f3056f281fe69259 OK deraadt@ tb@
show more ...
|
| #
36f395ce |
| 04-Jul-2021 |
tb <tb@openbsd.org> |
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.
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
show more ...
|
| #
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (th
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
show more ...
|
| #
d76b9bfa |
| 20-Jul-2005 |
millert <millert@openbsd.org> |
Update to zlib 1.2.3; OK deraadt@
|
| #
b967fc35 |
| 03-Dec-2004 |
djm <djm@openbsd.org> |
update to zlib-1.21 (we already have the CAN-2004-0797 security fixes) "in it goes" deraadt@, in the near-total absence of feedback from others
|
| #
85c48e79 |
| 16-Dec-2003 |
henning <henning@openbsd.org> |
update to zlib 1.2.1
ok millert@ deraadt@
|
| #
f49e71f1 |
| 04-Oct-2003 |
deraadt <deraadt@openbsd.org> |
set flag that we are restarting; pr 2886, also same diff found in netbsd; how did this sit around so long??
|
| #
9534f5cc |
| 10-Mar-2003 |
david <david@openbsd.org> |
duplicate words and spelling fixes in comments ok miod@
|
| #
1a167136 |
| 12-Mar-2002 |
millert <millert@openbsd.org> |
Update to zlib-1.1.4
|