r48471 - in /desktop/unstable/nautilus/debian: changelog patches/ patches/0001-mime-actions-use-format-argument.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Tue May 3 20:56:08 UTC 2016


Author: biebl
Date: Tue May  3 20:56:08 2016
New Revision: 48471

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=48471
Log:
Fix format string handling in show_unhandled_type_error(), patch taken
from bgo#765918.

Added:
    desktop/unstable/nautilus/debian/patches/
    desktop/unstable/nautilus/debian/patches/0001-mime-actions-use-format-argument.patch
    desktop/unstable/nautilus/debian/patches/series
Modified:
    desktop/unstable/nautilus/debian/changelog

Modified: desktop/unstable/nautilus/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/nautilus/debian/changelog?rev=48471&op=diff
==============================================================================
--- desktop/unstable/nautilus/debian/changelog	[utf-8] (original)
+++ desktop/unstable/nautilus/debian/changelog	[utf-8] Tue May  3 20:56:08 2016
@@ -3,6 +3,8 @@
   * New upstream release.
   * Drop obsolete Breaks, Conflicts and Replaces from pre-wheezy.
   * Bump Standards-Version to 3.9.8.
+  * Fix format string handling in show_unhandled_type_error(), patch taken
+    from bgo#765918.
 
  -- Michael Biebl <biebl at debian.org>  Tue, 03 May 2016 00:53:12 +0200
 

Added: desktop/unstable/nautilus/debian/patches/0001-mime-actions-use-format-argument.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/nautilus/debian/patches/0001-mime-actions-use-format-argument.patch?rev=48471&op=file
==============================================================================
--- desktop/unstable/nautilus/debian/patches/0001-mime-actions-use-format-argument.patch	(added)
+++ desktop/unstable/nautilus/debian/patches/0001-mime-actions-use-format-argument.patch	[utf-8] Tue May  3 20:56:08 2016
@@ -0,0 +1,32 @@
+From ceb16d4fb65559f7594b7747886703680bd78efd Mon Sep 17 00:00:00 2001
+From: Ernestas Kulik <ernestask at src.gnome.org>
+Date: Tue, 3 May 2016 19:03:24 +0300
+Subject: [PATCH] mime-actions: use format argument
+
+The call to gtk_message_dialog_format_secondary_text() in
+show_unhandled_type_error() is missing a format argument, which causes
+build failures with -Werror=format-security.
+
+This commit adds the missing argument.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=765918
+---
+ src/nautilus-mime-actions.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
+index 21f6246..b5e77a1 100644
+--- a/src/nautilus-mime-actions.c
++++ b/src/nautilus-mime-actions.c
+@@ -1143,7 +1143,7 @@ show_unhandled_type_error (ActivateParametersInstall *parameters)
+ 						 0,
+ 						 "%s", error_message);
+ 		gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
+-							  text);
++							  "%s", text);
+ 
+ 		g_free (text);
+ 	}
+-- 
+2.8.1
+

Added: desktop/unstable/nautilus/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/nautilus/debian/patches/series?rev=48471&op=file
==============================================================================
--- desktop/unstable/nautilus/debian/patches/series	(added)
+++ desktop/unstable/nautilus/debian/patches/series	[utf-8] Tue May  3 20:56:08 2016
@@ -0,0 +1 @@
+0001-mime-actions-use-format-argument.patch




More information about the pkg-gnome-commits mailing list