diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-02-16 15:14:05 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-02-16 15:58:39 -0500 |
| commit | 2967b7eb763788595fe26465881b6dfe2f580d66 (patch) | |
| tree | fbced042497291b4090956b96ac1e77a21a7d2c4 /test/ruby | |
| parent | 170058ca9eedd429ca675c78bd63896e71e52b8d (diff) | |
GC guard catch_table_ary
Using RARRAY_CONST_PTR can cause the array object to not exist on the
stack, which could cause it to be GC'd or be moved by GC compaction. This
can cause RARRAY_CONST_PTR to point to the incorrect location if the
array is embedded and moved by GC compaction.
Fixes ruby/prism#2444.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
