diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-08 00:07:24 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-08 00:07:24 +0000 |
commit | dd39ac243273052609e5f3ee6a5217f07e06402d (patch) | |
tree | b31fad3f06eff2329dbb23149a3cb26d7272cdee /src/plugins/scripts/python | |
parent | 05456cc54e80e813b15850ee4ba7e5aa277f44fd (diff) | |
download | weechat-dd39ac243273052609e5f3ee6a5217f07e06402d.zip |
Fixed infobar_printf interface function, security problem with string format
Diffstat (limited to 'src/plugins/scripts/python')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 62addc033..a62ae57a5 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -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); } |