diff options
| author | John Hawthorn <john@hawthorn.email> | 2025-06-16 20:58:31 -0700 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-06-17 08:01:23 +0200 |
| commit | 055fef00a1c27fdc8293114dc134ca7910b1dc79 (patch) | |
| tree | 9f08b85ea6646213991cb58785eb499a8064534a /node_dump.c | |
| parent | 8aac19d5987150cf5c45fee73c7a949ca472f488 (diff) | |
Free after insert in generic_ivar_set_shape_fields
Previously we were performing a realloc and then inserting the new value
into the table. If the table was flagged as requiring a rebuild, this
could trigger GC work and marking within that GC could access the fields
freed by realloc.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13635
Diffstat (limited to 'node_dump.c')
0 files changed, 0 insertions, 0 deletions
