Actions
Bug #21044
closed
Prism maximum recursion depth is 1_000, parse.y is 10_000
Description
These should be aligned. This was because I misread the bison docs originally. Some folks are hitting this when trying to render Rails views too deeply.
Updated by bquorning (Benjamin Quorning) 3 months ago
- Status changed from Open to Closed
Applied in changeset git|931a870606f4e286a1c7bacf022940994f3c431b.
[ruby/prism] Increase value of PRISM_DEPTH_MAXIMUM to 10000
The previous value of 1_000 was added with a reference to the Bison
parser1, but the value of YYMAXDEPTH in the Bison docs is 10_000,
not 1_000.
Fixes [Bug #21044]
https://github.com/ruby/prism/commit/e098533ab4
Co-authored-by: Nony Dutton nonydutton@gmail.com
Updated by k0kubun (Takashi Kokubun) 2 months ago
- Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED to 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: DONE
ruby_3_4 579b94ae61d123dfb06caa2499be4ef6879cbf1f merged revision(s) 931a870606f4e286a1c7bacf022940994f3c431b.
Updated by nagachika (Tomoyuki Chikanaga) 28 days ago
- Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: DONE to 3.1: DONTNEED, 3.2: DONTNEED, 3.3: WONTFIX, 3.4: DONE
Actions
Like0
Like0Like0Like0