File: 02_fix-format-string.patch

package info (click to toggle)
xfce4-timer-plugin 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,080 kB
  • ctags: 333
  • sloc: sh: 11,325; ansic: 1,188; makefile: 100
file content (18 lines) | stat: -rw-r--r-- 729 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Yves-Alexis Perez <corsac@debian.org>
Description: Fix format string issue
Forwarded: https://bugzilla.xfce.org/show_bug.cgi?id=10110
---
 src/xfcetimer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/xfcetimer.c
+++ b/src/xfcetimer.c
@@ -192,7 +192,7 @@ static gboolean update_function (gpointe
 
     dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
                                     GTK_MESSAGE_WARNING,
-                                    GTK_BUTTONS_NONE, dialog_message);
+                                    GTK_BUTTONS_NONE, "%s",dialog_message);
                            
     gtk_window_set_title ((GtkWindow *) dialog, dialog_title);