mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
0a5ec60e5c
Add MRB_BIGINT_BIT_LIMIT (1 billion bits / 128MB) to prevent unreasonably large allocations when left-shifting by huge amounts. Raises RangeError instead of attempting multi-GB allocations. Co-authored-by: Claude <noreply@anthropic.com>