mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
initialize MyProcessor::callTableSize in constructor
This field was being used uninitialized, which could lead to an out of memory condition when we tried to grow the call table to a ridiculous size.
This commit is contained in:
parent
3018290238
commit
3e304521d0
@ -7242,6 +7242,7 @@ class MyProcessor: public Processor {
|
|||||||
rewindMethod(0),
|
rewindMethod(0),
|
||||||
bootImage(0),
|
bootImage(0),
|
||||||
codeAllocator(s, 0, 0),
|
codeAllocator(s, 0, 0),
|
||||||
|
callTableSize(0),
|
||||||
useNativeFeatures(useNativeFeatures)
|
useNativeFeatures(useNativeFeatures)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user