Index: goffice/app/file.c
===================================================================
--- goffice/app/file.c	(revision 2263)
+++ goffice/app/file.c	(working copy)
@@ -687,7 +687,7 @@
 			const char *msg = _("Saving over old files of this type is disabled for safety.");
 
 			if (!gsf_output_error (output))
-				gsf_output_set_error (output, 0, msg);
+				gsf_output_set_error (output, 0, "%s", msg);
 
 			g_free (file_name);
 
Index: goffice/gtk/goffice-gtk.c
===================================================================
--- goffice/gtk/goffice-gtk.c	(revision 2263)
+++ goffice/gtk/goffice-gtk.c	(working copy)
@@ -922,7 +922,7 @@
 			 GTK_DIALOG_DESTROY_WITH_PARENT,
 			 GTK_MESSAGE_WARNING,
 			 GTK_BUTTONS_OK_CANCEL,
-			 msg);
+			 "%s", msg);
 		gtk_dialog_set_default_response (GTK_DIALOG (dialog),
 			overwrite_by_default ? GTK_RESPONSE_OK : GTK_RESPONSE_CANCEL);
 		result = GTK_RESPONSE_OK ==
Index: goffice/gtk/go-image-sel.c
===================================================================
--- goffice/gtk/go-image-sel.c	(revision 2263)
+++ goffice/gtk/go-image-sel.c	(working copy)
@@ -80,7 +80,7 @@
 	image = go_image_new_from_file (filename, &error);
 	g_free (filename);
 	if (error) {
-		g_warning (error->message);
+		g_warning ("%s", error->message);
 		g_error_free (error);
 		error = NULL;
 	}
