summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-06-16 20:58:31 -0700
committerJean Boussier <jean.boussier@gmail.com>2025-06-17 08:01:23 +0200
commit055fef00a1c27fdc8293114dc134ca7910b1dc79 (patch)
tree9f08b85ea6646213991cb58785eb499a8064534a /array.c
parent8aac19d5987150cf5c45fee73c7a949ca472f488 (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 'array.c')
0 files changed, 0 insertions, 0 deletions