Hi all,

attached is a tiny patch fixing a “format not a string literal and no format 
arguments” error (using gcc w/ -Werror=format-security).

Best,
Albrecht.
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index f392deedd..b62ee4e8b 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -3777,7 +3777,7 @@ sw_insert_sig_activated(GSimpleAction * action,
     } else if (error != NULL) {
         balsa_information_parented(GTK_WINDOW(bsmsg->window),
                                    LIBBALSA_INFORMATION_ERROR,
-                                   error->message);
+                                   "%s", error->message);
         g_error_free(error);
     }
 }

Attachment: pgpd6gPBgf_zl.pgp
Description: PGP signature

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list

Reply via email to