rpms/seahorse/devel seahorse-2.29.4-missing-null.patch, NONE, 1.1 seahorse.spec, 1.88, 1.89

Tomas Bzatek tbzatek at fedoraproject.org
Fri Jan 8 14:58:21 UTC 2010


Author: tbzatek

Update of /cvs/extras/rpms/seahorse/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20040

Modified Files:
	seahorse.spec 
Added Files:
	seahorse-2.29.4-missing-null.patch 
Log Message:
* Fri Jan  8 2010 Tomas Bzatek <tbzatek at redhat.com> 2.29.4-2
- Fix bad usage of g_strconcat: missing NULL (#553647)


seahorse-2.29.4-missing-null.patch:
 seahorse-gpg-options.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE seahorse-2.29.4-missing-null.patch ---
>From e329c309f8330c140acb86d270f531f2fc1cca64 Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz at gnome.org>
Date: Tue, 29 Dec 2009 17:46:50 +0000
Subject: Fixed bad usage of g_strconcat: missing NULL

Closes: bgo#605367
---
diff --git a/pgp/seahorse-gpg-options.c b/pgp/seahorse-gpg-options.c
index 9a37d9b..aa6158d 100644
--- a/pgp/seahorse-gpg-options.c
+++ b/pgp/seahorse-gpg-options.c
@@ -215,7 +215,7 @@ parse_home_directory (gpgme_engine_info_t engine, GError **err)
 
                     /* If it's not a rooted path then expand */
                     if (t[0] == '~') {
-                        gpg_homedir = g_strconcat (g_get_home_dir(), ++t);
+                        gpg_homedir = g_strconcat (g_get_home_dir(), ++t, NULL);
                     } else {
                         gpg_homedir = g_strdup (t);
                     }
--
cgit v0.8.3.1


Index: seahorse.spec
===================================================================
RCS file: /cvs/extras/rpms/seahorse/devel/seahorse.spec,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -p -r1.88 -r1.89
--- seahorse.spec	7 Jan 2010 17:25:17 -0000	1.88
+++ seahorse.spec	8 Jan 2010 14:58:20 -0000	1.89
@@ -1,6 +1,6 @@
 Name: 		seahorse
 Version: 	2.29.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:	A GNOME application for managing encryption keys
 Group: 		User Interface/Desktops
 # seahorse is GPLv2+
@@ -48,6 +48,8 @@ Obsoletes: gnome-keyring-manager
 
 # https://bugzilla.gnome.org/show_bug.cgi?id=604541 
 Patch0: property-get.patch
+# from upstream
+Patch1: seahorse-2.29.4-missing-null.patch
 
 %description
 Seahorse is a graphical interface for managing and using encryption keys.
@@ -69,6 +71,7 @@ library that belongs to seahorse.
 %prep
 %setup -q
 %patch0 -p1 -b .property-get
+%patch1 -p1 -b .missing-null
 
 %build
 GNUPG=/usr/bin/gpg2 ; export GNUPG ; %configure --disable-scrollkeeper
@@ -176,6 +179,9 @@ fi
 %{_datadir}/gir-1.0
 
 %changelog
+* Fri Jan  8 2010 Tomas Bzatek <tbzatek at redhat.com> 2.29.4-2
+- Fix bad usage of g_strconcat: missing NULL (#553647)
+
 * Thu Jan  7 2010 Tomas Bzatek <tbzatek at redhat.com> 2.29.4-1
 - Update to 2.29.4
 




More information about the fedora-extras-commits mailing list