1
0
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:
Sebastien Helleu
2013-05-18 22:42:16 +02:00
parent e0281a40f0
commit e459939ead
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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)
+1 -1
View File
@@ -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);
}