Hello community, here is the log from the commit of package zlib for openSUSE:Factory checked in at Mon May 30 09:05:00 CEST 2011.
-------- --- zlib/zlib.changes 2011-05-12 22:03:36.000000000 +0200 +++ /mounts/work_src_done/STABLE/zlib/zlib.changes 2011-05-27 11:15:50.000000000 +0200 @@ -1,0 +2,6 @@ +Fri May 27 09:13:31 UTC 2011 - mvysko...@suse.cz + +- fix bnc#679345: zlib segfaults when passing NULL to gzopen + * return NULL checks back to gz_open + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- zlib-1.2.5-gzopen-null-check.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zlib.spec ++++++ --- /var/tmp/diff_new_pack.DvkyZ3/_old 2011-05-30 08:47:50.000000000 +0200 +++ /var/tmp/diff_new_pack.DvkyZ3/_new 2011-05-30 08:47:50.000000000 +0200 @@ -28,7 +28,7 @@ %endif # Version: 1.2.5_git201105121450 -Release: 1 +Release: 13 Summary: Data Compression Library Url: http://www.zlib.net/ # git://github.com/kaffeemonster/zlib_adler32_vec.git @@ -41,6 +41,8 @@ Patch1: zlib-lfs.patch # PATCH-FIX-JENGELH-PARALLEL-MAKE zlib-parallel.patch meiss...@novell.com -- shared library links with libz.a Patch2: zlib-parallel.patch +# PATCH-FIX-UPSTREAM: bnc#679345 --return NULL checks from 1.2.3 removed by upstream +Patch3: zlib-1.2.5-gzopen-null-check.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig @@ -85,6 +87,7 @@ %patch0 %patch1 %patch2 -p1 +%patch3 -p1 %build # Marcus: breaks example64 in 32bit builds. ++++++ zlib-1.2.5-gzopen-null-check.patch ++++++ Index: zlib-1.2.5_git201105121450/gzlib.c =================================================================== --- zlib-1.2.5_git201105121450.orig/gzlib.c 2011-05-12 16:50:18.000000000 +0200 +++ zlib-1.2.5_git201105121450/gzlib.c 2011-05-27 10:45:36.467678080 +0200 @@ -91,6 +91,9 @@ { gz_statep state; + if (!path || !mode) + return NULL; + /* allocate gzFile structure to return */ state = malloc(sizeof(gz_state)); if (state == NULL) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org