Project

General

Profile

« Previous | Next » 

Revision 58ccce60

Added by alanwu (Alan Wu) 5 months ago

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]