|
|
|
@ -659,7 +659,7 @@ bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes)
@@ -659,7 +659,7 @@ bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes)
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
if (msg.in_data && msg.hdr.nMessageSize > MAX_PROTOCOL_MESSAGE_LENGTH) { |
|
|
|
|
LogPrint("net", "Oversized message from peer=%i, disconnecting", GetId()); |
|
|
|
|
LogPrint("net", "Oversized message from peer=%i, disconnecting\n", GetId()); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|