[med-svn] r14533 - trunk/packages/amide/trunk/debian/patches

Andreas Tille tille at alioth.debian.org
Mon Aug 26 20:47:48 UTC 2013


Author: tille
Date: 2013-08-26 20:47:48 +0000 (Mon, 26 Aug 2013)
New Revision: 14533

Added:
   trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-security.patch
Removed:
   trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-securit.patch
Log:
Typo


Deleted: trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-securit.patch
===================================================================
--- trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-securit.patch	2013-08-26 20:37:03 UTC (rev 14532)
+++ trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-securit.patch	2013-08-26 20:47:48 UTC (rev 14533)
@@ -1,50 +0,0 @@
-Author: Andreas Tille <tille at debian.org>
-LastChanged: Mon, 26 Aug 2013 14:53:06 +0200
-Description: Make sure package builds even with --format-security enabled
- (build using hardening flags)
-
-
---- amide-1.0.4.orig/src/amide.c
-+++ amide-1.0.4/src/amide.c
-@@ -146,7 +146,7 @@
- #endif
- 			   NULL);
- 
--    g_warning(comments);
-+    g_warning("%s", comments);
-     
-     g_free(comments);
-     amide_gconf_set_string("MISSING_FUNCTIONALITY", "AlreadyWarned", VERSION);
---- amide-1.0.4.orig/src/amide_gnome.c
-+++ amide-1.0.4/src/amide_gnome.c
-@@ -166,7 +166,7 @@
- 		g_set_error (error,
- 			     AMIDE_GNOME_URL_ERROR,
- 			     AMIDE_GNOME_URL_ERROR_VFS,
--			     gnome_vfs_result_to_string (result));
-+			     "%s", gnome_vfs_result_to_string (result));
- 	}
- 
- 	return FALSE;
---- amide-1.0.4.orig/src/amitk_space_edit.c
-+++ amide-1.0.4/src/amitk_space_edit.c
-@@ -335,7 +335,7 @@
-   				    GTK_DIALOG_DESTROY_WITH_PARENT,
-   				    GTK_MESSAGE_QUESTION,
-   				    GTK_BUTTONS_OK_CANCEL,
--  				    message);
-+  				    "%s", message);
-   return_val = gtk_dialog_run(GTK_DIALOG(question));
-   
-   gtk_widget_destroy(question);
---- amide-1.0.4.orig/src/tb_profile.c
-+++ amide-1.0.4/src/tb_profile.c
-@@ -368,7 +368,7 @@
-   }
- 
-   results = results_as_string(tb_profile);
--  fprintf(file_pointer, results);
-+  fprintf(file_pointer, "%s", results);
-   g_free(results);
- 
-   fclose(file_pointer);

Copied: trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-security.patch (from rev 14531, trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-securit.patch)
===================================================================
--- trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-security.patch	                        (rev 0)
+++ trunk/packages/amide/trunk/debian/patches/gcc-4.8_format-security.patch	2013-08-26 20:47:48 UTC (rev 14533)
@@ -0,0 +1,50 @@
+Author: Andreas Tille <tille at debian.org>
+LastChanged: Mon, 26 Aug 2013 14:53:06 +0200
+Description: Make sure package builds even with --format-security enabled
+ (build using hardening flags)
+
+
+--- amide-1.0.4.orig/src/amide.c
++++ amide-1.0.4/src/amide.c
+@@ -146,7 +146,7 @@
+ #endif
+ 			   NULL);
+ 
+-    g_warning(comments);
++    g_warning("%s", comments);
+     
+     g_free(comments);
+     amide_gconf_set_string("MISSING_FUNCTIONALITY", "AlreadyWarned", VERSION);
+--- amide-1.0.4.orig/src/amide_gnome.c
++++ amide-1.0.4/src/amide_gnome.c
+@@ -166,7 +166,7 @@
+ 		g_set_error (error,
+ 			     AMIDE_GNOME_URL_ERROR,
+ 			     AMIDE_GNOME_URL_ERROR_VFS,
+-			     gnome_vfs_result_to_string (result));
++			     "%s", gnome_vfs_result_to_string (result));
+ 	}
+ 
+ 	return FALSE;
+--- amide-1.0.4.orig/src/amitk_space_edit.c
++++ amide-1.0.4/src/amitk_space_edit.c
+@@ -335,7 +335,7 @@
+   				    GTK_DIALOG_DESTROY_WITH_PARENT,
+   				    GTK_MESSAGE_QUESTION,
+   				    GTK_BUTTONS_OK_CANCEL,
+-  				    message);
++  				    "%s", message);
+   return_val = gtk_dialog_run(GTK_DIALOG(question));
+   
+   gtk_widget_destroy(question);
+--- amide-1.0.4.orig/src/tb_profile.c
++++ amide-1.0.4/src/tb_profile.c
+@@ -368,7 +368,7 @@
+   }
+ 
+   results = results_as_string(tb_profile);
+-  fprintf(file_pointer, results);
++  fprintf(file_pointer, "%s", results);
+   g_free(results);
+ 
+   fclose(file_pointer);




More information about the debian-med-commit mailing list