mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
2135088ada
Several methods defined in mruby-array-ext are written in C and may call `mrb_vm_exec()`. If array objects are modified on the Ruby side, problems may arise in subsequent processing. - Using objects that have been removed from the array and garbage collected - Using pointers or array lengths that have become invalid due to changes to the array object - Modifying the contents of a shared array object directly ref: https://github.com/mruby/mruby/issues/6662