mirror of
https://github.com/ruby/ruby.git
synced 2026-11-09 00:42:18 +00:00
An old and very obscure bug resulting from using fixed-size integers to hold state stacks. Prism uses u32, and parse.y uses u64. Both of them have problems if they overflow. Instead, use a growable state stack that can extend indefinitely so this is never a problem. https://github.com/ruby/prism/commit/372df2460f