mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 23:06:38 +02:00
irc: fix uncontrolled format string when sending unknown irc commands (if option irc.network.send_unknown_commands is on)
This commit is contained in:
@@ -205,7 +205,7 @@ irc_input_data (struct t_gui_buffer *buffer, const char *input_data, int flags)
|
||||
if (ptr_server)
|
||||
{
|
||||
irc_server_sendf (ptr_server, flags, NULL,
|
||||
weechat_utf8_next_char (input_data));
|
||||
"%s", weechat_utf8_next_char (input_data));
|
||||
}
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user