mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 01:33:12 +02:00
relay: fix uncontrolled format string in redirection of irc commands
This commit is contained in:
@@ -557,7 +557,7 @@ relay_irc_hsignal_irc_redir_cb (void *data, const char *signal,
|
||||
{
|
||||
for (i = 0; i < num_messages; i++)
|
||||
{
|
||||
relay_irc_sendf (client, messages[i]);
|
||||
relay_irc_sendf (client, "%s", messages[i]);
|
||||
}
|
||||
weechat_string_free_split (messages);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user