summaryrefslogtreecommitdiff
path: root/include/ruby/intern.h
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2024-06-29 14:05:05 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2024-06-30 09:20:38 +0900
commit9d76a0ab4a582d6fefbc50a7d87a68ce86cf9c56 (patch)
tree90982d4c8743ea65a560481d3ca3472d2954decf /include/ruby/intern.h
parenta2c27bae9653a817b4e5f699f421836f8f97410b (diff)
Add RB_GC_GUARD for ast_value
I think this change fixes the following assertion failure: ``` [BUG] unexpected rb_parser_ary_data_type (2114076960) for script lines ``` It seems that `ast_value` is collected then `rb_parser_build_script_lines_from` touches invalid memory address. This change prevents `ast_value` from being collected by RB_GC_GUARD.
Diffstat (limited to 'include/ruby/intern.h')
0 files changed, 0 insertions, 0 deletions