Project

General

Profile

Actions

Bug #10373

closed

add RB_GC_GUARD in rb_mod_define_method() (r47891)

Added by nagachika (Tomoyuki Chikanaga) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
ruby -v:
-
[ruby-core:65632]

Description

This ticket is for backport management.

r47891 added RB_GC_GUARD() in rb_mod_define_method() to protect method entry (VALUE body which can be derived from rb_block_lambda()) from unexpected GC.
It seemsd ruby_2_1 and ruby_2_0_0 have similar potential problem.

Actions

Also available in: Atom PDF

Like0
Like0Like0