forked from I2P_Developers/i2p.i2p
SSU: Fix race NPE in debug logging
This commit is contained in:
@@ -363,8 +363,9 @@ class InboundMessageState implements CDQEntry {
|
||||
} else {
|
||||
for (int i = 0; i <= _lastFragment; i++) {
|
||||
buf.append(" fragment ").append(i);
|
||||
if (_fragments[i] != null)
|
||||
buf.append(": known at size ").append(_fragments[i].getValid());
|
||||
ByteArray ba = _fragments[i];
|
||||
if (ba != null)
|
||||
buf.append(": known at size ").append(ba.getValid());
|
||||
else
|
||||
buf.append(": unknown");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user