Fix out of bounds read.
This commit is contained in:
parent
86602484a2
commit
952ff7fbb3
Notes:
git
2022-05-25 18:51:13 +09:00
3
io.c
3
io.c
@ -2096,8 +2096,7 @@ rb_io_writev(VALUE io, int argc, const VALUE *argv)
|
|||||||
|
|
||||||
do rb_io_write(io, *argv++); while (--argc);
|
do rb_io_write(io, *argv++); while (--argc);
|
||||||
|
|
||||||
/* unused right now */
|
return Qnil;
|
||||||
return argv[0];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return rb_funcallv(io, id_write, argc, argv);
|
return rb_funcallv(io, id_write, argc, argv);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user