summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-01-28 16:13:28 -0500
committerTakashi Kokubun <takashikkbn@gmail.com>2025-02-13 17:44:58 -0800
commit706f1d0573f0b807bee4c0cc8937b8f5b9b24ebd (patch)
tree1de6ab3de459ed1667d54acc969250234f19499f /test/ruby/test_array.rb
parent12c716eea02f0efbb7dcd4ddb3a8b0523cdb99c2 (diff)
YJIT: Initialize locals in ISeqs defined with `...`
Backport of GH-12660: 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]
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions