Actions
Bug #22535
closedRelease mode segfault due to half-initialized error in singleton_method
Bug #22535:
Release mode segfault due to half-initialized error in singleton_method
Description
Actions
Added by tekknolagi (Maxwell Bernstein) 1 day ago. Updated about 18 hours ago.
Description
Applied in changeset git|45666487ee3868605bc6fd792f21ff8ac42264da.
Fix NameError from singleton_method for a name with no ID
rb_check_id returns 0 when the name has no ID, and we were passing that
to ID2SYM. 0 is never a valid ID, so also assert against it in
rb_id2sym.
[Bug #22535]