Package: drivel
Version: 3.0.1-1
Severity: normal
Tags: patch

Hi,

as the Ubuntu gcc has some additional security checks enabled, drivel fails to
build with:
,----
| blog_lj.c: In function 'parse_login_request':
| blog_lj.c:255: error: format not a string literal and no format arguments
`----

Here is also a small patch to fix it.

Regards,
Michael

--- drivel-3.0.1.orig/src/blog_lj.c
+++ drivel-3.0.1/src/blog_lj.c
@@ -252,6 +252,7 @@
                        GTK_DIALOG_DESTROY_WITH_PARENT,
                        GTK_MESSAGE_INFO,
                        GTK_BUTTONS_OK,
+                       "%s",
                        message);
                
                gtk_dialog_run (GTK_DIALOG (dialog));
--- drivel-3.0.1.orig/src/dialogs.c
+++ drivel-3.0.1/src/dialogs.c
@@ -1327,6 +1327,7 @@
                        GTK_DIALOG_DESTROY_WITH_PARENT,
                        GTK_MESSAGE_WARNING,
                        GTK_BUTTONS_NONE,
+                       "%s",
                        msg);
        gtk_dialog_add_buttons (GTK_DIALOG (dialog), GTK_STOCK_NO,
                        GTK_RESPONSE_REJECT,
@@ -1363,6 +1364,7 @@
                        GTK_DIALOG_DESTROY_WITH_PARENT,
                        GTK_MESSAGE_WARNING,
                        GTK_BUTTONS_NONE,
+                       "%s",
                        msg);
        gtk_dialog_add_buttons (GTK_DIALOG (dialog),
                        GTK_STOCK_NO, GTK_RESPONSE_REJECT,
--- drivel-3.0.1.orig/src/main.c
+++ drivel-3.0.1/src/main.c
@@ -73,6 +73,7 @@
                                GTK_DIALOG_DESTROY_WITH_PARENT,
                                GTK_MESSAGE_ERROR,
                                GTK_BUTTONS_CLOSE,
+                               "%s",
                                error_string);
 
                gtk_dialog_run (GTK_DIALOG (dialog));



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to