yelp r3173 - in trunk: . src



Author: dscorgie
Date: Tue Aug 12 19:06:55 2008
New Revision: 3173
URL: http://svn.gnome.org/viewvc/yelp?rev=3173&view=rev

Log:
* src/yelp-window.c (window_error):
Fix string vulnerability
bug #546364 - patch from Christian Persch
reported by Aaron Grattafiori


Modified:
   trunk/ChangeLog
   trunk/src/yelp-window.c

Modified: trunk/src/yelp-window.c
==============================================================================
--- trunk/src/yelp-window.c	(original)
+++ trunk/src/yelp-window.c	Tue Aug 12 19:06:55 2008
@@ -1152,9 +1152,9 @@
 	 GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
 	 GTK_MESSAGE_ERROR,
 	 GTK_BUTTONS_OK,
-	 title);
+	 "%s", title);
     gtk_message_dialog_format_secondary_markup
-	(GTK_MESSAGE_DIALOG (dialog), message);
+	(GTK_MESSAGE_DIALOG (dialog), "%s", message);
 	 gtk_dialog_run (GTK_DIALOG (dialog));
 
     gtk_widget_destroy (dialog);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]