Closed
Description
Detected as part of #54580
The mac
parameter is assigned the address of the defMAC
local at line 6142 of morph.cpp.
runtime/src/coreclr/jit/morph.cpp
Lines 6137 to 6143 in d7a5b89
The defMAC
local goes out of scope at line 6313.
The mac
parameter is passed down to fgMorphSmpOp
at line 6513.
runtime/src/coreclr/jit/morph.cpp
Line 6513 in d7a5b89
The mac
parameter in fgMorphSmpOp
dereferences the mac
pointer to the out-of-scope local at line 12963
runtime/src/coreclr/jit/morph.cpp
Line 12963 in d7a5b89