Fixed out of bounds access; fix ref
MODIFY
mrbgems/mruby-array-ext/src/array.c
mrbgems/mruby-array-ext/src/array.c
@@ -215,7 +215,7 @@ mrb_ary_slice_bang(mrb_state *mrb, mrb_value self)
}
ptr = a->ptr + i;
- for (j = i; j <= a->len - len; ++j) {
+ for (j = i; j < a->len - len; ++j) {
*ptr = *(ptr+len);
++ptr;
}

Fixed out of bounds access; fix #3572, ref #3553