ruby/ext/objspace
Koichi Sasada c695536cc8 use st_update to prevent table extension
to prevent the following scenario:

1. `delete_unique_str()` can be called while GC (sweeping)
2. it calls `st_insert()` to decrement the counter
3. `st_insert()` can try to extend the table even if the key exists
4. `xmalloc` while GC and cause BUG
2024-12-23 11:05:34 +09:00
..
lib [DOC] Improve ObjectSpace#dump_XXX method docs 2023-02-19 22:32:52 +02:00
depend ruby tool/update-deps --fix 2024-04-27 21:55:28 +09:00
extconf.rb ext/objspace: Specify frozen_string_literal: true. 2017-02-12 04:31:25 +00:00
object_tracing.c use st_update to prevent table extension 2024-12-23 11:05:34 +09:00
objspace.c Prefix asan_poison_object with rb 2024-12-19 09:14:34 -05:00
objspace.h
objspace_dump.c Prefix asan_poison_object with rb 2024-12-19 09:14:34 -05:00