summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-02-16 15:14:05 -0500
committerPeter Zhu <[email protected]>2024-02-16 15:58:39 -0500
commit2967b7eb763788595fe26465881b6dfe2f580d66 (patch)
treefbced042497291b4090956b96ac1e77a21a7d2c4 /time.c
parent170058ca9eedd429ca675c78bd63896e71e52b8d (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 'time.c')
0 files changed, 0 insertions, 0 deletions