diff options
| author | dearblue <[email protected]> | 2021-12-30 22:34:22 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2021-12-30 22:34:22 +0900 |
| commit | a137ef12f981b517f1e6b64e39edc7ac15d7e1eb (patch) | |
| tree | fb0e0b192aec0cd2237f3094df958138b8332224 /src/numeric.c | |
| parent | 41e8b210b82fc5a0bc6f0b2989b34e0391fac2ae (diff) | |
| download | mruby-a137ef12f981b517f1e6b64e39edc7ac15d7e1eb.tar.gz mruby-a137ef12f981b517f1e6b64e39edc7ac15d7e1eb.zip | |
Get object properties after `mrb_get_args()`
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.
Diffstat (limited to 'src/numeric.c')
0 files changed, 0 insertions, 0 deletions
