diff --git a/libi2pd/NetDb.cpp b/libi2pd/NetDb.cpp index ca048bec..9fa3123d 100644 --- a/libi2pd/NetDb.cpp +++ b/libi2pd/NetDb.cpp @@ -952,6 +952,10 @@ namespace data else if(!m_FloodfillBootstrap) LogPrint (eLogWarning, "NetDb: Requested destination for ", key, " not found"); + // All peers hashs in buffer? + if(msg->GetPayloadLength() < (size_t) (33 + num * IDENTITY_HASH_SIZE)) + return; + // try responses for (int i = 0; i < num; i++) {