summaryrefslogtreecommitdiff
path: root/test/ruby/test_method_cache.rb
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2023-09-14 20:37:43 +1200
committernagachika <nagachika@ruby-lang.org>2024-05-18 20:09:56 +0900
commit0e664ebcd36879591223d1ecbb181aa05d82a4d9 (patch)
treec553e13e411287a834ece8873156cfec0ae7455f /test/ruby/test_method_cache.rb
parent67d499a7646a4f2f5294b6c83ac9503fcd873270 (diff)
Fix `io_buffer_get_string` default length computation. (#8427)
* Fix `io_buffer_get_string` default length computation. When an offset bigger than the size is given, the resulting length will be computed incorrectly. Raise an argument error in this case. * Validate all arguments.
Diffstat (limited to 'test/ruby/test_method_cache.rb')
0 files changed, 0 insertions, 0 deletions