mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
070bef24ab
check for overflow using mrb_int_mul_overflow() in the LCM computation to avoid undefined behavior when the result exceeds mrb_int range. raises RangeError instead. reported by OSS-Fuzz (clusterfuzz-testcase-6501272051318784). Co-authored-by: Claude <noreply@anthropic.com>