Hello community,

here is the log from the commit of package fuse for openSUSE:Factory
checked in at Tue Feb 22 14:08:08 CET 2011.



--------
--- fuse/fuse.changes   2010-12-02 14:53:40.000000000 +0100
+++ /mounts/work_src_done/STABLE/fuse/fuse.changes      2011-02-21 
20:01:44.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 17 17:51:15 CET 2011 - [email protected]
+
+- In case of failure to add to /etc/mtab don't umount. [bnc#668820]
+  [CVE-2011-0541]
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  fuse-fix-cleanup-in-case-of-failed-mount.patch

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

Other differences:
------------------
++++++ fuse.spec ++++++
--- /var/tmp/diff_new_pack.DUCMZ3/_old  2011-02-22 14:05:51.000000000 +0100
+++ /var/tmp/diff_new_pack.DUCMZ3/_new  2011-02-22 14:05:51.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package fuse (Version 2.8.5)
+# spec file for package fuse
 #
-# Copyright (c) 2010 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
@@ -21,7 +21,7 @@
 Name:           fuse
 Summary:        User space File System
 Version:        2.8.5
-Release:        3
+Release:        8
 License:        GPLv2+ ; LGPLv2.1+
 Group:          System/Filesystems
 # 
http://sourceforge.net/projects/fuse/files/fuse-2.X/%%{version}/fuse-%%{version}.tar.gz/download
@@ -31,16 +31,19 @@
 Patch:          fuse-install-fix.diff
 Patch2:         fuse-pc-remove-libdir-from-Libs.diff
 Patch3:         fuse-umount-race-fix.patch
+Patch4:         fuse-fix-cleanup-in-case-of-failed-mount.patch
 Url:            http://fuse.sourceforge.net
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} > 1130
 Requires:       util-linux >= 2.18
+%else
+Requires:       util-linux(fake+no-canonicalize)
+%endif
 Requires:       licenses
-BuildRequires:  licenses pkg-config
-%if 0%{?suse_version}
-%if 0%{?suse_version} >= 1000
+BuildRequires:  licenses pkgconfig
+%if 0%{?suse_version} >= 0 && 0%{?suse_version} >= 1000
 Supplements:    filesystem(fuse)
 %endif
-%endif
 PreReq:         permissions
 
 %description
@@ -225,6 +228,7 @@
 %patch2
 %endif
 %patch3 -p1
+%patch4 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing"

++++++ fuse-fix-cleanup-in-case-of-failed-mount.patch ++++++
---
 util/fusermount.c |    1 -
 1 file changed, 1 deletion(-)

Index: fuse-2.7.2/util/fusermount.c
===================================================================
--- fuse-2.7.2.orig/util/fusermount.c   2011-02-21 17:30:34.000000000 +0100
+++ fuse-2.7.2/util/fusermount.c        2011-02-21 17:31:11.682067022 +0100
@@ -770,7 +770,6 @@ static int mount_fuse(const char *mnt, c
        if (geteuid() == 0) {
                res = add_mount(source, mnt, type, mnt_opts);
                if (res == -1) {
-                       umount2(mnt, 2); /* lazy umount */
                        close(fd);
                        return -1;
                }

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



Remember to have fun...

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

Reply via email to