Hello community,

here is the log from the commit of package libzip1 for openSUSE:11.2
checked in at Mon Mar 21 23:58:14 CET 2011.



--------
--- old-versions/11.2/all/libzip1/libzip1.changes       2008-07-27 
06:26:56.000000000 +0200
+++ 11.2/libzip1/libzip1.changes        2011-03-21 10:44:37.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Mar 21 09:44:29 UTC 2011 - [email protected]
+
+- fix bnc#681193 - VUL-0: libzip NULL deref (CVE-2011-0421)
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.2/all/libzip1
Destination is old-versions/11.2/UPDATES/all/libzip1
calling whatdependson for 11.2-i586


New:
----
  libzip-0.9-CVE-2011-0421.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libzip1.spec ++++++
--- /var/tmp/diff_new_pack.m2cikA/_old  2011-03-21 23:57:36.000000000 +0100
+++ /var/tmp/diff_new_pack.m2cikA/_new  2011-03-21 23:57:36.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package libzip1 (Version 0.9)
+# spec file for package libzip1
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,14 +22,15 @@
 
 Name:           libzip1
 Version:        0.9
-Release:        22
-License:        BSD 3-Clause
+Release:        23.<RELEASE4>
+License:        BSD3c
 Group:          Development/Libraries/C and C++
 Source0:        http://www.nih.at/libzip/%{pkg_name}-%{version}.tar.bz2
 Url:            http://www.nih.at/libzip
 BuildRequires:  zlib-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Patch0:         libzip-0.8.hg20080403-visibility.patch
+Patch1:         libzip-0.9-CVE-2011-0421.patch
 
 %description
 libzip is a C library for reading, creating, and modifying zip
@@ -46,7 +47,7 @@
     Thomas Klausner <[email protected]>
 
 %package -n libzip-util
-License:        BSD 3-Clause
+License:        BSD3c
 Summary:        C library for reading, creating, and modifying zip archives
 Group:          Development/Libraries/C and C++
 
@@ -65,7 +66,7 @@
     Thomas Klausner <[email protected]>
 
 %package -n libzip-devel
-License:        BSD 3-Clause
+License:        BSD3c
 Summary:        C library for reading, creating, and modifying zip archives
 Group:          Development/Libraries/C and C++
 Requires:       libzip1 = %{version} glibc-devel
@@ -87,6 +88,7 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fiv

++++++ libzip-0.9-CVE-2011-0421.patch ++++++
Index: libzip-0.9/lib/zip_name_locate.c
===================================================================
--- libzip-0.9/lib/zip_name_locate.c    2007-11-07 14:33:45.000000000 +0100
+++ libzip-0.9/lib/zip_name_locate.c    2011-03-21 10:36:21.149985060 +0100
@@ -59,6 +59,10 @@
        _zip_error_set(error, ZIP_ER_INVAL, 0);
        return -1;
     }
+
+    if((flags & ZIP_FL_UNCHANGED) && !za->cdir) {
+        return -1;
+    }
     
     cmp = (flags & ZIP_FL_NOCASE) ? strcasecmp : strcmp;
 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to