From 844704596437d179c03d3e4706d3ff45f00ac06d Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Fri, 6 Nov 2026 05:37:36 +0000 Subject: [PATCH] zlib: upgrade 1.3.2 -> 1.4 Changes in 1.4 (4 Nov 2026) - Change CMake library names on MSVC - Return z_off_t default to long for portability - Fail gzopen() with "x" if O_EXCL not available - Deliver all gzip data before reporting error - Fix gzwrite() buffer overflow (CVE-2026-85091) - Fix inflateGetDictionary() write past buffer on invalid window size - Fix window write overrun after inflateSync() - Fix read before provided data after repeated inflatePrime()'s - Fix write past pending buffer after repeated deflatePrime()'s - Fix copy of uninitialized memory by inflateBack() on invalid data - Fix copy of uninitialized memory after gzseek() as first write action - Fix read outside window after a deflateResetKeep() mid-stream - Avoid out-of-bounds pointer arithmetic in infback9() (CVE-2026-4738) - Fix several vulnerabilities in contrib/minizip - Fix truncated stream detection in gzread() - Fix pending skip handling in gzread() - Fix loss of zero fill on repeated gzseek()'s when writing - Fix inaccurate total_in after Z_NEED_DICT returned - Detect and report bad deflateSetDictionary() calls - Avoid undefined behaviors in C language usage - Fix minizip extra field overflows when almost full and need Zip64 - Don't assume NULL is defined in compress.c and uncompr.c - Use the generated zconf.h when building test programs out of tree - Improve portability and functionality of CMake builds - Provide 64-bit file offsets on Windows with #defines as on Linux - Improve portability to Android, AIX, PowerPC, s390x, and Windows - Use a PCG random number generator instead of rand() in minizip - Clarify documentation - (See https://github.com/madler/zlib for all 195 commits) --- meta/recipes-core/zlib/{zlib_1.3.2.bb => zlib_1.4.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/zlib/{zlib_1.3.2.bb => zlib_1.4.bb} (94%) diff --git a/meta/recipes-core/zlib/zlib_1.3.2.bb b/meta/recipes-core/zlib/zlib_1.4.bb similarity index 94% rename from meta/recipes-core/zlib/zlib_1.3.2.bb rename to meta/recipes-core/zlib/zlib_1.4.bb index 8a23d98cd3..89f952ce7f 100644 --- a/meta/recipes-core/zlib/zlib_1.3.2.bb +++ b/meta/recipes-core/zlib/zlib_1.4.bb @@ -12,7 +12,7 @@ SRC_URI = "https://zlib.net/${BP}.tar.gz \ " UPSTREAM_CHECK_URI = "http://zlib.net/" -SRC_URI[sha256sum] = "bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16" +SRC_URI[sha256sum] = "02dd159783677a749c04adbdd02b55b8a2bcc7e054f51b76b549199a916ad584" # When a new release is made the previous release is moved to fossils/, so add this # to PREMIRRORS so it is also searched automatically. -- 2.47.1