summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-01-28 23:54:38 -0500
committerGitHub <noreply@github.com>2025-01-28 23:54:38 -0500
commit58ccce60cf5f3268e7ef27942b75e78fe2d78e75 (patch)
tree9767c939f1cb236638e7289e5e71854e7c754641 /include
parentff64806ae51c2813f0c6334c0c52082b027c255c (diff)
YJIT: Initialize locals in ISeqs defined with `...` (#12660)
* YJIT: Fix indentation [ci skip] Fixes: cdf33ed5f37f9649c482c3ba1d245f0d80ac01ce * YJIT: Initialize locals in ISeqs defined with `...` Previously, callers of forwardable ISeqs moved the stack pointer up without writing to the stack. If there happens to be a stale value in the area skipped over, it could crash due to "try to mark T_NONE". Also, the uninitialized local variables were observable through `binding`. Initialize the locals to nil. [Bug #21021]
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions