[unique] test-unique: Resolve format string issues
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [unique] test-unique: Resolve format string issues
- Date: Sat, 8 May 2010 11:22:00 +0000 (UTC)
commit caf736f4b84808393b0d7030ae6128a3322a71e2
Author: Tobias Mueller <tobiasmue gnome org>
Date: Mon Apr 12 14:01:42 2010 +0100
test-unique: Resolve format string issues
Provide a proper literal format string to not expose potential vulnerabilites.
Fixes bug 615522.
tests/test-unique.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-unique.c b/tests/test-unique.c
index b7cde45..c9958c9 100644
--- a/tests/test-unique.c
+++ b/tests/test-unique.c
@@ -82,9 +82,11 @@ app_message_cb (UniqueApp *app,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE,
+ "%s",
title);
if (message)
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
+ "%s",
message);
gtk_window_set_urgency_hint (GTK_WINDOW (dialog), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]