1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

ruby: fix buffer overflow

This commit is contained in:
Sébastien Helleu
2018-01-07 19:32:57 +01:00
parent be7002b70d
commit 64d610c0d7
+1 -1
View File
@@ -569,7 +569,7 @@ struct t_plugin_script *
weechat_ruby_load (const char *filename, const char *code)
{
char modname[64];
VALUE ruby_retcode, err, argv[1];
VALUE ruby_retcode, err, argv[2];
int ruby_error;
struct stat buf;