mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 13:56:37 +02:00
core: fix uncontrolled format string when displaying bufferized lines on startup (lines waiting for core buffer)
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user