mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 00:46:26 +08:00
Concatenated large repeats reach a program past INT_MAX from a few hundred kilobytes of source, and the offsets emitted into it wrap. Cap the size while the program is emitted, which does not depend on the length pass that overflows along with it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>