source: projects/specs/trunk/u/unique/libunique-1.1.6-format-security.patch @ 10830

Revision 10830, 724 bytes checked in by iwaim, 7 years ago (diff)

unique 1.1.6-4

RevLine 
[10830]1--- libunique-1.1.6/tests/test-unique.c.orig    2014-05-07 11:05:02.743420865 +0100
2+++ libunique-1.1.6/tests/test-unique.c 2014-05-07 11:24:20.163336706 +0100
3@@ -82,10 +82,10 @@
4                                    GTK_DIALOG_DESTROY_WITH_PARENT,
5                                    GTK_MESSAGE_INFO,
6                                    GTK_BUTTONS_CLOSE,
7-                                   title);
8+                                   "%s", title);
9   if (message)
10     gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
11-                                              message);
12+                                              "%s", message);
13 
14   gtk_window_set_urgency_hint (GTK_WINDOW (dialog), TRUE);
15 
Note: See TracBrowser for help on using the repository browser.