mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
a137ef12f9
ref. #5613 I checked with Valgrind, and the methods that can cause use-after-free are `Array#rotate`, `Array#rotate!`, and `String#byteslice`. Since `String#rindex` uses `RSTRING_LEN()` indirectly inside the function, no reference to the out-of-bounds range is generated.