Project

General

Profile

Bug #19546

Updated by ioquatix (Samuel Williams) about 1 year ago

The `IO::Buffer` implementation incorrectly calls `rb_fiber_scheduler_io_write` rb_fiber_scheduler_io_write with the `size_t`s size_ts converted to `VALUE`s: VALUEs: https://github.com/ruby/ruby/blob/400ccb16eefe4e21c4e3eacab4fd0f208fc5e151/io_buffer.c#L2607 

 But that function expects `size_t`s: size_ts: https://github.com/ruby/ruby/blob/400ccb16eefe4e21c4e3eacab4fd0f208fc5e151/scheduler.c#L542 

 (And probably the same for the other scheduler methods + data types.) methods.) 

 Fixed by <https://github.com/ruby/ruby/pull/7593>.

Back