mirror of
https://github.com/weechat/weechat.git
synced 2026-06-21 18:36:39 +02:00
Fixed infobar_printf interface function, security problem with string format
This commit is contained in:
@@ -242,7 +242,7 @@ weechat_python_print_infobar (PyObject *self, PyObject *args)
|
||||
return Py_BuildValue ("i", 0);
|
||||
}
|
||||
|
||||
python_plugin->infobar_printf (python_plugin, delay, message);
|
||||
python_plugin->infobar_printf (python_plugin, delay, "%s", message);
|
||||
|
||||
return Py_BuildValue ("i", 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user