Skip to content

Commit

Permalink
irc: fix uncontrolled format string when sending unknown irc commands…
Browse files Browse the repository at this point in the history
… (if option irc.network.send_unknown_commands is on)
  • Loading branch information
flashcode committed May 18, 2013
1 parent 5877a45 commit e0281a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Version 0.4.1 (under dev!)
list with arguments inside), guile >= 2.0 is now required (bug #38350) list with arguments inside), guile >= 2.0 is now required (bug #38350)
* guile: fix crash on calls to callbacks during load of script (bug #38343) * guile: fix crash on calls to callbacks during load of script (bug #38343)
* guile: fix compilation with guile 2.0 * guile: fix compilation with guile 2.0
* irc: fix uncontrolled format string when sending unknown irc commands
(if option irc.network.send_unknown_commands is on)
* irc: fix uncontrolled format string when sending ison command (for nicks * irc: fix uncontrolled format string when sending ison command (for nicks
monitored by /notify) monitored by /notify)
* irc: fix refresh of nick in input bar when joining a new channel with op * irc: fix refresh of nick in input bar when joining a new channel with op
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/irc/irc-input.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ irc_input_data (struct t_gui_buffer *buffer, const char *input_data, int flags)
if (ptr_server) if (ptr_server)
{ {
irc_server_sendf (ptr_server, flags, NULL, irc_server_sendf (ptr_server, flags, NULL,
weechat_utf8_next_char (input_data)); "%s", weechat_utf8_next_char (input_data));
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
Expand Down

0 comments on commit e0281a4

Please sign in to comment.