Hello community,

here is the log from the commit of package seahorse for openSUSE:Factory 
checked in at 2013-12-30 10:43:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/seahorse (Old)
 and      /work/SRC/openSUSE:Factory/.seahorse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "seahorse"

Changes:
--------
--- /work/SRC/openSUSE:Factory/seahorse/seahorse.changes        2013-10-17 
17:47:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.seahorse.new/seahorse.changes   2013-12-30 
10:43:25.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Nov 23 04:54:40 UTC 2013 - [email protected]
+
+- Add seahorse-ssh-keypair.patch: Fix SSH key generation
+  (bnc#851050, bgo#715053).
+
+-------------------------------------------------------------------

New:
----
  seahorse-ssh-keypair.patch

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

Other differences:
------------------
++++++ seahorse.spec ++++++
--- /var/tmp/diff_new_pack.pT3JiK/_old  2013-12-30 10:43:26.000000000 +0100
+++ /var/tmp/diff_new_pack.pT3JiK/_new  2013-12-30 10:43:26.000000000 +0100
@@ -24,6 +24,8 @@
 Group:          Productivity/Security
 Url:            http://projects.gnome.org/seahorse/
 Source:         
http://download.gnome.org/sources/seahorse/3.10/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM seahorse-ssh-keypair.patch bnc#851050 bgo#715053 
[email protected] -- Fix SSH key generation
+Patch0:         seahorse-ssh-keypair.patch
 BuildRequires:  fdupes
 BuildRequires:  gpg2
 BuildRequires:  gpgme-devel
@@ -66,6 +68,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 translation-update-upstream
 
 %build

++++++ seahorse-ssh-keypair.patch ++++++
>From db804a82e7828848bcf48b1603f7bcbb0ad78a5a Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <[email protected]>
Date: Fri, 22 Nov 2013 22:44:47 -0600
Subject: [PATCH] Fix SSH key generation

Here, i used to be a guint, but was recently changed into a gint to
silence a compiler warning. This caused the for loop to terminate
without ever iterating.

https://bugzilla.gnome.org/show_bug.cgi?id=715053
---
 ssh/seahorse-ssh-source.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssh/seahorse-ssh-source.c b/ssh/seahorse-ssh-source.c
index 1f015f0..8cc233e 100644
--- a/ssh/seahorse-ssh-source.c
+++ b/ssh/seahorse-ssh-source.c
@@ -917,7 +917,7 @@ seahorse_ssh_source_file_for_algorithm (SeahorseSSHSource 
*ssrc, guint algo)
         break;
     }
     
-    for (i = 0; i < ~0; i++) {
+    for (i = 0; i < G_MAXINT; i++) {
         t = (i == 0) ? g_strdup (pref) : g_strdup_printf ("%s.%d", pref, i);
         filename = g_build_filename (ssrc->priv->ssh_homedir, t, NULL);
         g_free (t);
-- 
1.8.3.1
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to