diff options
| author | nagachika <nagachika@ruby-lang.org> | 2022-03-21 15:35:07 +0900 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2022-03-21 15:35:07 +0900 |
| commit | e0146e6cc8f3578b02ad5f228f86bf1aef566d16 (patch) | |
| tree | f86681b0b8bf16515b59786f588ef00fdfdd6aa4 /include/ruby/ruby.h | |
| parent | f404b21f849af06fb8bbd4b87fdfb585e904d6c3 (diff) | |
merge revision(s) 97426e15d721119738a548ecfa7232b1d027cd34: [Backport #18627]
[Bug #18627] Fix crash when including module
During lazy sweeping, the iclass could be a dead object that has not yet
been swept. However, the chain of superclasses of the iclass could
already have been swept (and become a new object), which would cause a
crash when trying to read the object.
---
class.c | 48 ++++++++++++++++++++++++++++++------------------
1 file changed, 30 insertions(+), 18 deletions(-)
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions
