forked from I2P_Developers/i2p.i2p
* BOB, SAM, i2psnark: Fix datagram NPE (ticket #1275)
This could only happen on an extremely overloaded router.
This commit is contained in:
@@ -234,6 +234,8 @@ public abstract class SAMMessageSession {
|
||||
}
|
||||
try {
|
||||
byte msg[] = session.receiveMessage(msgId);
|
||||
if (msg == null)
|
||||
return;
|
||||
if (_log.shouldLog(Log.DEBUG)) {
|
||||
_log.debug("Content of message " + msgId + ":\n"
|
||||
+ HexDump.dump(msg));
|
||||
|
Reference in New Issue
Block a user