1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From http://patch-tracker.debian.org/package/oregano/0.70-1
## Description: Avoid format-security errors
## Origin/Author: Maximiliano Curia <maxy@debian.org>
Index: oregano-0.70/src/dialogs.c
===================================================================
--- oregano-0.70.orig/src/dialogs.c 2012-01-07 18:57:09.000000000 -0300
+++ oregano-0.70/src/dialogs.c 2012-01-07 19:26:46.000000000 -0300
@@ -61,7 +61,7 @@
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- span_msg->str);
+ "%s", span_msg->str);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
@@ -100,7 +100,7 @@
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_OK,
- span_msg->str);
+ "%s", span_msg->str);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
@@ -120,7 +120,7 @@
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_OK,
GTK_BUTTONS_CANCEL,
- msg);
+ "%s", msg);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);
|