libegg r894 - trunk/libegg/smclient



Author: chpe
Date: Wed Sep 24 11:27:06 2008
New Revision: 894
URL: http://svn.gnome.org/viewvc/libegg?rev=894&view=rev

Log:
Fix a format security bug. Now smclient builds cleanly with -Werror.

Modified:
   trunk/libegg/smclient/egg-session-end.c

Modified: trunk/libegg/smclient/egg-session-end.c
==============================================================================
--- trunk/libegg/smclient/egg-session-end.c	(original)
+++ trunk/libegg/smclient/egg-session-end.c	Wed Sep 24 11:27:06 2008
@@ -87,7 +87,7 @@
 	  GtkWidget *dialog;
 
 	  dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR,
-					   GTK_BUTTONS_OK, message);
+					   GTK_BUTTONS_OK, "%s", message);
 	  gtk_dialog_run (GTK_DIALOG (dialog));
 	  gtk_widget_destroy (dialog);
 	} else



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