mirror of
https://github.com/corda/corda.git
synced 2025-01-14 16:59:52 +00:00
zero locals when invoking method
This commit is contained in:
parent
32b5d070fb
commit
acd254544c
@ -4159,6 +4159,11 @@ run(Thread* t)
|
||||
frame = makeFrame(t, code, frame, 0, base);
|
||||
code = methodCode(t, code);
|
||||
|
||||
memset(stack + base + parameterCount,
|
||||
0,
|
||||
(codeMaxLocals(t, methodCode(t, code)) - parameterCount)
|
||||
* BytesPerWord);
|
||||
|
||||
sp = base + codeMaxLocals(t, methodCode(t, code));
|
||||
}
|
||||
} goto loop;
|
||||
|
Loading…
Reference in New Issue
Block a user