Need to call `mrb_str_modify()` in `mrb_str_cat_str()`; fix #4018
If `str` and `str2` are the same string object `str->ptr` may be rewritten by `mrb_str_modify()`.
Showing
Please register or sign in to comment
If `str` and `str2` are the same string object `str->ptr` may be rewritten by `mrb_str_modify()`.