diff options
author | Samuel Williams <[email protected]> | 2023-09-14 20:37:43 +1200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-14 20:37:43 +1200 |
commit | a095740fed2a05a04806a1d3827bcaba02e45720 (patch) | |
tree | ad2b2e3ca8d24a876f594ff085d4303d983742c0 /test/ruby/test_not.rb | |
parent | 998ae7c3f36b65f04471cd680b4c7ac78b3d9f30 (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.
Notes
Notes:
Merged-By: ioquatix <[email protected]>
Diffstat (limited to 'test/ruby/test_not.rb')
0 files changed, 0 insertions, 0 deletions