Hello community,

here is the log from the commit of package eject for openSUSE:Factory checked 
in at 2011-12-12 16:56:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/eject (Old)
 and      /work/SRC/openSUSE:Factory/.eject.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "eject", Maintainer is "vci...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/eject/eject.changes      2011-12-01 
12:23:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.eject.new/eject.changes 2011-12-12 
16:59:18.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Dec  6 16:07:03 UTC 2011 - vci...@suse.com
+
+- fixed segfault when unmounting devices (bnc#716644)
+
+-------------------------------------------------------------------

New:
----
  eject-2.1.0-regfree_segfault.patch

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

Other differences:
------------------
++++++ eject.spec ++++++
--- /var/tmp/diff_new_pack.O9FtpX/_old  2011-12-12 16:59:49.000000000 +0100
+++ /var/tmp/diff_new_pack.O9FtpX/_new  2011-12-12 16:59:49.000000000 +0100
@@ -19,10 +19,10 @@
 BuildRequires:  automake
 BuildRequires:  recode
 BuildRequires:  sg3_utils-devel
-License:        GPL-2.0+
-Group:          System/Base
 Url:            http://eject.sourceforge.net/
 Summary:        A Program to Eject Media under Software Control
+License:        GPL-2.0+
+Group:          System/Base
 Version:        2.1.0
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
@@ -33,6 +33,8 @@
 Patch6:         %{name}-%{version}-toggle.diff
 Patch7:         %{name}-%{version}-status.diff
 Patch8:         %{name}-%{version}-umount.diff
+# PATCH-FIX-SUSE fix segfault when unmounting (bnc#716644)
+Patch9:         eject-2.1.0-regfree_segfault.patch
 PreReq:         permissions
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -52,6 +54,7 @@
 %patch6
 %patch7
 %patch8
+%patch9 -p1
 
 %build
 aclocal

++++++ eject-2.1.0-regfree_segfault.patch ++++++
Index: eject-2.1.0/eject.c
===================================================================
--- eject-2.1.0.orig/eject.c    2011-12-06 16:56:02.000000000 +0100
+++ eject-2.1.0/eject.c 2011-12-08 13:44:43.811127406 +0100
@@ -850,6 +850,7 @@
        if (fp == NULL)
        {
                fprintf(stderr, _("unable to open %s: %s\n"),(p_option ? 
"/proc/mounts" : "/etc/mtab"), strerror(errno));
+               regfree(&preg);
                exit(1);
        }
 
@@ -883,10 +884,10 @@
                                if (v_option)
                                        printf(_("%s: unmounting `%s'\n"), 
programName, s1);
                                Unmount(s1);
-                               regfree(&preg);
                        }
                }
        }
+       regfree(&preg);
        FCLOSE(fp);
 }
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to