Commit 01988e3b authored by Carson McDonald's avatar Carson McDonald

Make sure c is large enough if there is an overflow

parent 33b2975c
......@@ -702,7 +702,8 @@ mrb_fixnum_mul(mrb_state *mrb, mrb_value x, mrb_value y)
a = mrb_fixnum(x);
if (mrb_fixnum_p(y)) {
mrb_int b, c;
mrb_float c;
mrb_int b;
if (a == 0) return x;
b = mrb_fixnum(y);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment