diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-04-06 10:25:59 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-04-06 13:19:19 -0400 |
commit | bccec7fb468ad977be75e7e4c2644b4ea845ab0c (patch) | |
tree | f468c95c1d9b42a38a039cfe1cde6541b7778401 /test | |
parent | 89bdf6e94cb36567478c509722fe98069402fb8e (diff) | |
download | ruby-bccec7fb468ad977be75e7e4c2644b4ea845ab0c.tar.gz |
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.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions