From 73f2c2c48833568f0eb21b73ca8fed5603643d93 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 22 Aug 2013 23:06:30 +0200 Subject: [PATCH] core: fix uncontrolled format string when displaying bufferized lines on startup (lines waiting for core buffer) --- src/gui/gui-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index d596e1714..e45396acd 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -924,7 +924,7 @@ gui_chat_print_lines_waiting_buffer () { for (i = 0; i < num_lines; i++) { - gui_chat_printf (NULL, lines[i]); + gui_chat_printf (NULL, "%s", lines[i]); } string_free_split (lines); }