Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zlib for openSUSE:Factory checked in at 2023-05-07 18:54:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zlib (Old) and /work/SRC/openSUSE:Factory/.zlib.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zlib" Sun May 7 18:54:24 2023 rev:89 rq:1085026 version:1.2.13 Changes: -------- --- /work/SRC/openSUSE:Factory/zlib/zlib.changes 2023-03-05 20:07:48.132650174 +0100 +++ /work/SRC/openSUSE:Factory/.zlib.new.1533/zlib.changes 2023-05-07 18:54:25.532072653 +0200 @@ -1,0 +2,6 @@ +Fri May 5 09:56:31 UTC 2023 - Danilo Spinella <danilo.spine...@suse.com> + +- Fix deflateBound() before deflateInit(), bsc#1210593, bsc#1211005 + bsc1210593.patch + +------------------------------------------------------------------- New: ---- bsc1210593.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zlib.spec ++++++ --- /var/tmp/diff_new_pack.0UMPJZ/_old 2023-05-07 18:54:26.336077139 +0200 +++ /var/tmp/diff_new_pack.0UMPJZ/_new 2023-05-07 18:54:26.340077161 +0200 @@ -53,6 +53,9 @@ Patch16: zlib-1.2.12-fix-invalid-memory-access-on-ppc-and-ppc64.patch Patch17: zlib-1.2.12-add-optimized-slide_hash-for-power.patch Patch18: zlib-1.2.12-add-vectorized-longest_match-for-power.patch +# PATCH-FIX-UPSTREAM danilo.spine...@suse.com bsc#1210593 bsc#1211005 +# Fix deflateBound() before deflateInit() +Patch19: bsc1210593.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -155,6 +158,7 @@ %patch16 -p1 %patch17 -p1 %patch18 -p1 +%patch19 -p1 cp %{SOURCE4} . %build ++++++ bsc1210593.patch ++++++ Index: zlib-1.2.11/contrib/s390/dfltcc_deflate.h =================================================================== --- zlib-1.2.11.orig/contrib/s390/dfltcc_deflate.h +++ zlib-1.2.11/contrib/s390/dfltcc_deflate.h @@ -45,7 +45,7 @@ int ZLIB_INTERNAL dfltcc_deflate_get_dic #define DEFLATE_DONE dfltcc_deflate_done #define DEFLATE_BOUND_ADJUST_COMPLEN(strm, complen, source_len) \ do { \ - if (dfltcc_can_deflate((strm))) \ + if (deflateStateCheck((strm)) || dfltcc_can_deflate((strm))) \ (complen) = DEFLATE_BOUND_COMPLEN(source_len); \ } while (0) #define DEFLATE_NEED_CONSERVATIVE_BOUND(strm) (dfltcc_can_deflate((strm)))