summaryrefslogtreecommitdiff
path: root/test/ruby/test_iterator.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-04-06 10:25:59 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-04-06 13:19:19 -0400
commitbccec7fb468ad977be75e7e4c2644b4ea845ab0c (patch)
treef468c95c1d9b42a38a039cfe1cde6541b7778401 /test/ruby/test_iterator.rb
parent89bdf6e94cb36567478c509722fe98069402fb8e (diff)
Fix crash in rb_gc_register_address
[Bug #19584] Some C extensions pass a pointer to a global variable to rb_gc_register_address. However, if a GC is triggered inside of rb_gc_register_address, then the object could get swept since it does not exist on the stack.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7670
Diffstat (limited to 'test/ruby/test_iterator.rb')
0 files changed, 0 insertions, 0 deletions