mirror of
https://github.com/corda/corda.git
synced 2025-03-12 15:34:58 +00:00
avoid infinite loop in deadWord
This commit is contained in:
parent
ed4206b06d
commit
4566e7a7dd
@ -1008,7 +1008,7 @@ deadWord(Context* c, Value* v)
|
||||
Value* nextWord = v->nextWord;
|
||||
assert(c, nextWord != v);
|
||||
|
||||
for (SiteIterator it(c, v); it.hasMore();) {
|
||||
for (SiteIterator it(c, v, true, false); it.hasMore();) {
|
||||
Site* s = it.next();
|
||||
|
||||
if (s->registerSize(c) > BytesPerWord) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user