diff options
| author | nagachika <nagachika@ruby-lang.org> | 2022-09-25 13:00:25 +0900 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2022-09-25 13:00:25 +0900 |
| commit | c356c31f77b2d7c7c7f40f5b19dbb0961ea5f803 (patch) | |
| tree | c6bb5c4ec48cbef96cfea3a3e58366fcc71e3631 /include/ruby/internal/intern/ruby.h | |
| parent | 13ee4b2c35bad0f893d5ed5a6fdca62da406f958 (diff) | |
merge revision(s) 86d061294d3cc1656e18d0e1fd4b4f290da16944: [Backport #18928]
[Bug #18928] Fix crash in WeakMap
In wmap_live_p, if is_pointer_to_heap returns false, then the page is
either in the tomb or has already been freed, so the object is dead. In
this case, wmap_live_p should return false.
---
gc.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Diffstat (limited to 'include/ruby/internal/intern/ruby.h')
0 files changed, 0 insertions, 0 deletions
