Project

General

Profile

Bug #18140 ยป 0001-Guard-array-when-appending.patch

tenderlovemaking (Aaron Patterson), 09/01/2021 12:07 AM

View differences:

array.c
if (n > 0) {
rb_ary_splice(x, RARRAY_LEN(x), 0, RARRAY_CONST_PTR_TRANSIENT(y), n);
}
RB_GC_GUARD(y);
return x;
}
    (1-1/1)