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
Updated by jhawthorn (John Hawthorn) 23 days ago
Updated by jhawthorn (John Hawthorn) 22 days ago
- Status changed from Open to Closed
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]
Updated by jhawthorn (John Hawthorn) 22 days ago
- Backport changed from 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN to 3.3: DONTNEED, 3.4: REQUIRED, 4.0: REQUIRED
Updated by jhawthorn (John Hawthorn) 22 days ago
- Backport changed from 3.3: DONTNEED, 3.4: REQUIRED, 4.0: REQUIRED to 3.3: DONTNEED, 3.4: REQUIRED, 4.0: DONE
Updated by nagachika (Tomoyuki Chikanaga) 21 days ago
- Backport changed from 3.3: DONTNEED, 3.4: REQUIRED, 4.0: DONE to 3.3: DONTNEED, 3.4: DONE, 4.0: DONE
Merged into ruby_3_4 at https://github.com/ruby/ruby/commit/deb94faedf5cda15510423bcd16371a411d7da77.
Actions