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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user