[packages/zlib] up to 1.4 (security fixes)

atler atler at pld-linux.org
Thu Nov 5 14:10:20 CET 2026


commit 47d413603a0fcc13f13ee9759ddea3c0a5b02faa
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Nov 5 14:10:02 2026 +0100

    up to 1.4 (security fixes)

 CVE-2026-85091.patch | 18 ------------------
 header.patch         | 10 ----------
 zlib.spec            | 10 +++-------
 3 files changed, 3 insertions(+), 35 deletions(-)
---
diff --git a/zlib.spec b/zlib.spec
index 52068c2..11842a8 100644
--- a/zlib.spec
+++ b/zlib.spec
@@ -17,15 +17,13 @@ Summary(ru.UTF-8):	Библиотека для компрессии и деко
 Summary(tr.UTF-8):	Sıkıştırma işlemleri için kitaplık
 Summary(uk.UTF-8):	Бібліотека для компресії та декомпресії
 Name:		zlib
-Version:	1.3.2
-Release:	4
+Version:	1.4
+Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	https://www.zlib.net/%{name}-%{version}.tar.gz
-# Source0-md5:	a1e6c958597af3c67d162995a342138a
+# Source0-md5:	5fdf67d2dbb1a155593ef68a32197df6
 Patch0:		%{name}-asm.patch
-Patch1:		header.patch
-Patch2:		CVE-2026-85091.patch
 URL:		https://www.zlib.net/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -295,8 +293,6 @@ Ten pakiet zawiera statyczną wersję biblioteki minizip.
 %prep
 %setup -q
 
-%patch -P1 -p1
-%patch -P2 -p1
 %if %{with asmopt}
 %patch -P0 -p1
 %ifarch i686 pentium3 pentium4 athlon
diff --git a/CVE-2026-85091.patch b/CVE-2026-85091.patch
deleted file mode 100644
index 34a0c70..0000000
--- a/CVE-2026-85091.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-# CVE-2026-85091; https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148
-diff --git a/gzwrite.c b/gzwrite.c
-index b217b85ce..512329244 100644
---- a/gzwrite.c
-+++ b/gzwrite.c
-@@ -242,8 +242,11 @@ local z_size_t gz_write(gz_statep state, voidpc buf, z_size_t len) {
-             n -= state->strm.avail_in;
-             state->x.pos += n;
-             len -= n;
--            if (ret == -1)
-+            if (ret == -1) {
-+                state->strm.avail_in = 0;
-+                state->strm.next_in = state->in;
-                 return state->again ? put - len : 0;
-+            }
-         } while (len);
-     }
- 
diff --git a/header.patch b/header.patch
deleted file mode 100644
index 4d0b602..0000000
--- a/header.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- zlib-1.3.2/contrib/minizip/Makefile.am.orig	2012-03-27 05:17:41.000000000 +0200
-+++ zlib-1.3.2/contrib/minizip/Makefile.am	2026-02-18 23:54:46.431983060 +0100
-@@ -27,6 +27,7 @@
- minizip_includedir = $(includedir)/minizip
- minizip_include_HEADERS = \
- 	crypt.h \
-+	ints.h \
- 	ioapi.h \
- 	mztools.h \
- 	unzip.h \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zlib.git/commitdiff/47d413603a0fcc13f13ee9759ddea3c0a5b02faa



More information about the pld-cvs-commit mailing list