diff options
author | TingPing <tingping@tingping.se> | 2013-09-30 01:23:20 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-09-30 01:23:20 -0400 |
commit | b7e8f64bbaea4b78e8a744ca94082528c3eda4dd (patch) | |
tree | 9d2c57e97aff71a88f41513e46d9d7eb8c7e9901 /plugins/python/python.c | |
parent | 76b1c2f1edca3327d23962fe27be3588f114d3bd (diff) |
Fix crash in hexchat_pluginpref_list()
Set max output size to 4096
Diffstat (limited to 'plugins/python/python.c')
-rw-r--r-- | plugins/python/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/python/python.c b/plugins/python/python.c index 9ef7e0ed..0103eccf 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -1959,7 +1959,7 @@ Module_hexchat_pluginpref_list(PyObject *self, PyObject *args) { PluginObject *plugin = (PluginObject*)Plugin_GetCurrent(); hexchat_plugin *prefph = Plugin_GetHandle(plugin); - char list[512]; + char list[4096]; char* token; int result; PyObject *pylist; |