mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
d5c7a906f9
When year value is close to MRB_INT_MIN, subtracting TM_YEAR_BASE (1900) causes signed integer overflow. Add underflow check before the subtraction. Co-authored-by: Claude <noreply@anthropic.com>