Repository navigation
Update dependency madler/zlib to v1.4 - #11
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/madler-zlib-1.x
branch
from
September 25, 2026 14:56
565e73b to
05b7508
Compare
renovate
Bot
force-pushed
the
renovate/madler-zlib-1.x
branch
from
October 26, 2026 16:22
05b7508 to
36d70c1
Compare
renovate
Bot
force-pushed
the
renovate/madler-zlib-1.x
branch
from
November 5, 2026 10:44
36d70c1 to
bdf5948
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
v1.3.1→v1.4Release Notes
madler/zlib
v1.4: zlib 1.4Compare Source
zlib 1.4 Release Notes
November 4, 2026
Changes in 1.4 (since 1.3.2)
Breaking changes
zis nowlibz, as inlibz.dll,libz.lib, and the staticlibzs.lib. minizip's libraries changed the same way.libprefix.zlib_. Several test targets were renamed to one scheme, for examplezlib_examplestaticandminigzipstatic.ENABLE_BZIP2is nowZLIB1_DLL_ENABLE_BZIP2.z_off_tis againlong, as in 1.3.1, instead of 1.3.2'slong long. Windows applications built with 1.3.2 headers should be recompiled; see Enhancements for 64-bit offsets.deflateReset()now resets the gzip header set bydeflateSetHeader(), as zlib.h has always said. Code relying on the header persisting must set it again.Z_STREAM_ENDinstead ofZ_OK, as documented.gzopen()with"x"now fails whereO_EXCLisn't available, instead of truncating an existing file (Trail of Bits TOB-ZLIB-009).Security fixes
gzwrite()had a buffer overflow; CVE-2026-85091 (reported by mat-mo; also TOB-ZLIB-003).inflateGetDictionary()could write up to 8 MB past the caller's 32K buffer (Theorem THM-ZLIB-001). This took a zlib header with an invalid window size, theninflateReset()orinflateSync(). Affects 1.3.1 and 1.3.2.inflateSync()before the window size was known allocated a one-byte window that could later be overrun (TOB-ZLIB-004).inflatePrime()could leadinflate()to read before the start of the input (TOB-ZLIB-014).deflatePrime()calls could write past the pending buffer (TOB-ZLIB-013).inflateBack()failed to detect distances too far back, and copied uninitialized memory to the output (reported by Kornel Lesiński).gzseek()forward before any data was written could write uninitialized memory to the gzip output (found by Claude Opus 5.5).deflateResetKeep()used mid-stream could read outside the window (reported by Jason Gross).gzdopen()now sets close-on-exec with the correct flag (TOB-ZLIB-008).block_central_name()(reported by Oculytic), and a NULL dereference on repeatedzipAlreadyThere()calls after a bad central directory (reported by Naveed Khan).zipRemoveExtraInfoBlock()(reported by Naveed Khan and jmestwa-coder).Bug fixes
gz_skip(),gzdirect()and forced seeks at EOF.gzgets()now returns an empty string when promised.SEEK_CURseeks no longer lose zero fill.gzprintf()is now all-or-nothing when blocked, and is no longer a stub when compiled as C++.gzseek()leaves the position unchanged on failure.gzopen_w()now works with paths not representable in the locale.total_inwas short six bytes onZ_NEED_DICT.inflateReset()now restores the requested window size, and the wrap afterinflateSync().inflateSetDictionary()rejects a null dictionary.PKZIP_BUG_WORKAROUND, the code tables were slightly too small.deflateSetDictionary()call is now detected as promised.deflateCopy()orinflateCopy()leaves the destination safe to end.deflate_stored()comparisons.gz_vacate()and mztools.c.zipOpen3()no longer leaks memory or returns a freed comment pointer on failure.configurenow builds the shared library with linkers such as lld that reject undefined symbols in zlib.map, including for--solo.NULLbeing defined.NO_ADDFILEINEXISTINGZIP.Enhancements
_FILE_OFFSET_BITS=64or_LARGEFILE64_SOURCE. The library itself needs no changes.-Wno-psabi, only where the PowerPC note would appear.VGFMAFLAGin configure._FOUNDvariables.rand().inflateGetHeader()header reuse.deflateBound()anddeflateSetDictionary()ordering.Known issues
v1.3.2: zlib 1.3.2Compare Source
zlib 1.3.2 Release Notes
February 17, 2026
Version 1.3.2 has these key changes:
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.