mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
729b84cf26
during eql? callbacks, array modifications can cause elements in khash to be freed by GC, leading to use-after-free. create temporary shared copies of arrays before populating khash to protect elements during callbacks. Co-authored-by: Claude <noreply@anthropic.com>