rpms/gnome-disk-utility/devel gdu-0.2-passphrase-change-crash.patch, NONE, 1.1 gnome-disk-utility.spec, 1.5, 1.6
David Zeuthen
davidz at fedoraproject.org
Wed Mar 4 22:07:59 UTC 2009
- Previous message (by thread): rpms/qt/F-9 .cvsignore, 1.38, 1.39 qt-copy-patches-svn_checkout.sh, 1.2, 1.3 qt.spec, 1.192, 1.193 sources, 1.41, 1.42
- Next message (by thread): rpms/winpdb/devel winpdb.png, NONE, 1.1 winpdb.desktop, 1.3, 1.4 winpdb.spec, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: davidz
Update of /cvs/pkgs/rpms/gnome-disk-utility/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11133
Modified Files:
gnome-disk-utility.spec
Added Files:
gdu-0.2-passphrase-change-crash.patch
Log Message:
* Wed Mar 04 2009 David Zeuthen <davidz at redhat.com> - 0.2-2%{?dist}
- Don't crash when changing the LUKS passphrase on a device
gdu-0.2-passphrase-change-crash.patch:
--- NEW FILE gdu-0.2-passphrase-change-crash.patch ---
>From 15eda99b58d602119ba9df881595fcbb02853c2a Mon Sep 17 00:00:00 2001
From: David Zeuthen <davidz at redhat.com>
Date: Wed, 04 Mar 2009 16:37:56 +0000
Subject: don't use g_free on a GIcon, use g_object_unref instead
This fixes a crash when attempting to change the passphrase of a LUKS
device.
---
diff --git a/src/gdu-gtk/gdu-gtk.c b/src/gdu-gtk/gdu-gtk.c
index d86599a..d0a41d4 100644
--- a/src/gdu-gtk/gdu-gtk.c
+++ b/src/gdu-gtk/gdu-gtk.c
@@ -1057,7 +1057,7 @@ out:
g_free (window_title);
if (window_icon != NULL)
- g_free (window_icon);
+ g_object_unref (window_icon);
if (device != NULL)
g_object_unref (device);
return ret;
--
cgit v0.8.2
Index: gnome-disk-utility.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-disk-utility/devel/gnome-disk-utility.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- gnome-disk-utility.spec 2 Mar 2009 21:42:15 -0000 1.5
+++ gnome-disk-utility.spec 4 Mar 2009 22:07:28 -0000 1.6
@@ -11,7 +11,7 @@
Summary: Disk management application
Name: gnome-disk-utility
Version: 0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://gitweb.freedesktop.org/?p=users/david/gnome-disk-utility.git;a=summary
@@ -34,6 +34,8 @@
Requires(post): scrollkeeper
Requires(postun): scrollkeeper
+Patch0: gdu-0.2-passphrase-change-crash.patch
+
%description
This package contains the Palimpsest disk management application.
Palimpsest supports partitioning, file system creation, encryption,
@@ -87,6 +89,7 @@
%prep
%setup -q
+%patch0 -p1 -b .luks-passphrase-change
%build
%configure
@@ -194,6 +197,9 @@
%{_includedir}/gnome-disk-utility/gdu-gtk/*
%changelog
+* Wed Mar 04 2009 David Zeuthen <davidz at redhat.com> - 0.2-2%{?dist}
+- Don't crash when changing the LUKS passphrase on a device
+
* Mon Mar 02 2009 David Zeuthen <davidz at redhat.com> - 0.2-1%{?dist}
- Update to version 0.2
- Previous message (by thread): rpms/qt/F-9 .cvsignore, 1.38, 1.39 qt-copy-patches-svn_checkout.sh, 1.2, 1.3 qt.spec, 1.192, 1.193 sources, 1.41, 1.42
- Next message (by thread): rpms/winpdb/devel winpdb.png, NONE, 1.1 winpdb.desktop, 1.3, 1.4 winpdb.spec, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list