mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 07:46:38 +02:00
relay: fix uncontrolled format string in redirection of irc commands
This commit is contained in:
@@ -99,6 +99,7 @@ Version 0.4.1 (under dev!)
|
||||
functions (bug #38510)
|
||||
* perl: simplify code to load scripts
|
||||
* python: fix crash when loading scripts with Python 3.x (patch #8044)
|
||||
* relay: fix uncontrolled format string in redirection of irc commands
|
||||
* relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip)
|
||||
* relay: add message "_nicklist_diff" (differences between old and current
|
||||
nicklist)
|
||||
|
||||
@@ -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