Skip to content

Update bundled zlib to 1.4 - #270

Merged
danoli3 merged 1 commit into
masterfrom
update/zlib-1.4
Nov 9, 2026
Merged

danoli3 merged 1 commit into
masterfrom
update/zlib-1.4

Conversation

@danoli3

@danoli3 danoli3 commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Updates Source/ZLib from 1.3.2 to the official zlib 1.4 release (tag v1.4, commit 99623ef, tarball SHA-256 in scripts/vendor/NOTES.md).

  • The 1.3.2 snapshot had no local modifications, so all tracked files were refreshed byte-for-byte; CMake and Makefile.srcs source lists are unchanged.
  • THIRD_PARTY_VERSIONS.md and scripts/vendor/NOTES.md updated. Note: 1.4 restores the default z_off_t to long; FreeImage's wrappers do not expose it.
  • New ZLibTest: rejected-header inflateReset window check plus compress/gzip round trips through the FreeImage wrappers.

Tested locally on macOS (CMake, Release, BUILD_TESTS=ON): 18/18 tests pass. Other platforms are left to CI.

Replace the vendored Source/ZLib files with the official zlib 1.4 release (the 1.3.2 snapshot had no local changes; source lists are unchanged), and record it in THIRD_PARTY_VERSIONS.md and scripts/vendor/NOTES.md. Add ZLibTest, which covers the inflateReset window regression and FreeImage's zlib/gzip wrappers.
@danoli3
danoli3 merged commit dcc2ec0 into master Nov 9, 2026
95 checks passed
@danoli3 danoli3 mentioned this pull request Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant