mirror of
https://github.com/corda/corda.git
synced 2025-01-01 10:46:46 +00:00
protect local object variable in multianewarray
This commit is contained in:
parent
619d0daf8d
commit
e76e4ccdf0
@ -2126,6 +2126,7 @@ run(Thread* t)
|
|||||||
|
|
||||||
object class_ = resolveClass(t, codePool(t, code), index - 1);
|
object class_ = resolveClass(t, codePool(t, code), index - 1);
|
||||||
if (UNLIKELY(exception)) goto throw_;
|
if (UNLIKELY(exception)) goto throw_;
|
||||||
|
PROTECT(t, class_);
|
||||||
|
|
||||||
int32_t counts[dimensions];
|
int32_t counts[dimensions];
|
||||||
for (int i = dimensions - 1; i >= 0; --i) {
|
for (int i = dimensions - 1; i >= 0; --i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user