mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
5d3aab8b22
OUTINT macro checked ayear > INT_MAX, but timegm() later computes tm_year + TM_YEAR_BASE (1900), which overflows when tm_year is near INT_MAX. Tighten the upper bound to INT_MAX - TM_YEAR_BASE. Found by ClusterFuzz. Co-authored-by: Claude <noreply@anthropic.com>