Hello community, here is the log from the commit of package eject for openSUSE:11.3 checked in at Wed Dec 14 17:19:03 CET 2011. -------- --- old-versions/11.3/all/eject/eject.changes 2008-06-02 23:22:02.000000000 +0200 +++ 11.3/eject/eject.changes 2011-12-14 12:02:15.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Dec 6 16:07:03 UTC 2011 - vcizek@suse.com + +- fixed segfault when unmounting devices (bnc#716644) + +------------------------------------------------------------------- Package does not exist at destination yet. Using Fallback old-versions/11.3/all/eject Destination is old-versions/11.3/UPDATES/all/eject calling whatdependson for 11.3-i586 New: ---- eject-2.1.0-regfree_segfault.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eject.spec ++++++ --- /var/tmp/diff_new_pack.zHipAo/_old 2011-12-14 17:18:31.000000000 +0100 +++ /var/tmp/diff_new_pack.zHipAo/_new 2011-12-14 17:18:31.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package eject (Version 2.1.0) +# spec file for package eject # -# 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 @@ -26,7 +26,7 @@ AutoReqProv: on Summary: A Program to Eject Media under Software Control Version: 2.1.0 -Release: 143 +Release: 149.<RELEASE2> Source: %{name}-%{version}.tar.bz2 Patch1: %{name}-%{version}-subfs.diff Patch3: %{name}-%{version}-scsi.diff @@ -35,6 +35,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 @@ -60,6 +62,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); } continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de