Skip to content
Permalink
Browse files

relay: fix uncontrolled format string in redirection of irc commands

  • Loading branch information...
flashcode committed May 18, 2013
1 parent e0281a4 commit e459939ead60a8dbad3519574bfe850798d5738a
Showing with 2 additions and 1 deletion.
  1. +1 −0 ChangeLog
  2. +1 −1 src/plugins/relay/irc/relay-irc.c
@@ -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);
}

0 comments on commit e459939

Please sign in to comment.
You can’t perform that action at this time.