summaryrefslogtreecommitdiff
path: root/src/plugins/plugins-interface.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-01-07 23:58:07 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-01-07 23:58:07 +0000
commit05456cc54e80e813b15850ee4ba7e5aa277f44fd (patch)
tree9c85cdb29d02f71985256f1dc98e4cc41a4773ca /src/plugins/plugins-interface.c
parent3fd569a83edfedabd32811324d0c40279cef8bd7 (diff)
downloadweechat-05456cc54e80e813b15850ee4ba7e5aa277f44fd.zip
Fixed infobar_printf interface function, security problem with string format
Diffstat (limited to 'src/plugins/plugins-interface.c')
-rw-r--r--src/plugins/plugins-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugins-interface.c b/src/plugins/plugins-interface.c
index 746f0b54e..3b02532ec 100644
--- a/src/plugins/plugins-interface.c
+++ b/src/plugins/plugins-interface.c
@@ -210,7 +210,7 @@ weechat_plugin_infobar_printf (t_weechat_plugin *plugin, int time_displayed, cha
va_start (argptr, message);
vsnprintf (buf, sizeof (buf) - 1, message, argptr);
va_end (argptr);
- gui_infobar_printf (time_displayed, COLOR_WIN_INFOBAR, buf);
+ gui_infobar_printf (time_displayed, COLOR_WIN_INFOBAR, "%s", buf);
}
/*