mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
29496c9931
The `mrb_ary_cmp()` function calls `mrb_cmp()` for comparison, but `mrb_cmp()` may call the `obj.<=>` method internally. If a user-defined `<=>` method is called and the array object under comparison is expanded or reduced, a reference to an invalid address may subsequently be made.