1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
Description: Fix FTBFS with hardening flags
Author: Laurent Bigonville <bigon@debian.org>
--- a/src/verify.c
+++ b/src/verify.c
@@ -395,7 +395,7 @@ static void vwin_cb_img_save(GtkWidget *
if (!gdk_pixbuf_save(pixbuf, filename, "png", &error, NULL)) {
dialog = gtk_message_dialog_new(GTK_WINDOW(mwin_window),
GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR,
- GTK_BUTTONS_CLOSE, error->message);
+ GTK_BUTTONS_CLOSE, "%s", error->message);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
g_error_free(error);
|