All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] zlib: upgrade 1.3.2 -> 1.4
@ 2026-11-06  1:13 Prasanth R
  2026-11-06  1:13 ` [PATCH v2 2/2] zlib: ignore CVE-2026-76844 Prasanth R
  0 siblings, 1 reply; 7+ messages in thread
From: Prasanth R @ 2026-11-06  1:13 UTC (permalink / raw)
  To: openembedded-core; +Cc: paul, peter.marko, Prasanth R

Bug fix and security release. It fixes CVE-2026-85091, a heap buffer
overflow in gzwrite(), and several inflate, deflate and gzread issues.

Drop the -fuse-ld=bfd workaround. 1.4 fixes the configure test that
failed with lld 17+ (upstream commit 6ddc2d0, "Fix configure when using
zlib.map with some linkers"). PR #936, named in the old comment, is
about --zprefix builds, which we don't use.

License checksum is unchanged.

Changelog: https://github.com/madler/zlib/blob/v1.4/ChangeLog

AI-Generated: Uses Claude
Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp>
---

Notes:
    v2: zlib 1.4 is out, so upgrade instead of the backport (Peter), and
    mark CVE-2026-76844 cpe-incorrect in a separate patch (Paul).
    Also drop the lld workaround: tested a 1.4 build with gcc + ld.lld,
    same exported symbols as with bfd. ptest passes on Test.

 meta/recipes-core/zlib/{zlib_1.3.2.bb => zlib_1.4.bb} | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
 rename meta/recipes-core/zlib/{zlib_1.3.2.bb => zlib_1.4.bb} (85%)

diff --git a/meta/recipes-core/zlib/zlib_1.3.2.bb b/meta/recipes-core/zlib/zlib_1.4.bb
similarity index 85%
rename from meta/recipes-core/zlib/zlib_1.3.2.bb
rename to meta/recipes-core/zlib/zlib_1.4.bb
index 8a23d98cd3..18b27df878 100644
--- a/meta/recipes-core/zlib/zlib_1.3.2.bb
+++ b/meta/recipes-core/zlib/zlib_1.4.bb
@@ -12,16 +12,13 @@ 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.
 PREMIRRORS:append = " https://zlib.net/ https://zlib.net/fossils/"
 
 CFLAGS += "-D_REENTRANT -fPIE"
-# zlib does not build with lld, keep it until https://github.com/madler/zlib/pull/936
-# is addressed
-LDFLAGS:append = " -fuse-ld=bfd"
 
 RDEPENDS:${PN}-ptest += "make"
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-06  9:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-06  1:13 [PATCH v2 1/2] zlib: upgrade 1.3.2 -> 1.4 Prasanth R
2026-11-06  1:13 ` [PATCH v2 2/2] zlib: ignore CVE-2026-76844 Prasanth R
2026-11-06  6:53   ` Marko, Peter
2026-11-06  8:13     ` Prasanth Ramesh
2026-11-06  8:28       ` Prasanth Ramesh
2026-11-06  9:21         ` Paul Barker
2026-11-06  9:22           ` Prasanth Ramesh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.