summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-12-16 10:49:49 -0500
committerPeter Zhu <[email protected]>2024-12-17 11:03:38 -0500
commit9733304d6112ca3ac81b70dfecf7b2b7f63beff5 (patch)
tree41d9f57bb8bcc6f032e46de75ecf86a51aef1540 /variable.c
parent50a67820fbbb9347b3d659502bca80b0b921eeb2 (diff)
Assert Ruby object in rb_gc_location
rb_gc_location doesn't check that the object is actually a Ruby object and only checks if the object looks like a T_MOVED. This may have unexpected outcomes if the object is not a Ruby object (e.g. a piece of malloc memory may be corrupted).
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12371
Diffstat (limited to 'variable.c')
0 files changed, 0 insertions, 0 deletions