Skip to content
Snippets Groups Projects
Commit 057858dd authored by kwolekr's avatar kwolekr
Browse files

Connection: Stop processing malformed packet when encountered

parent 3875a77b
No related branches found
No related tags found
No related merge requests found
......@@ -2036,6 +2036,7 @@ void ConnectionReceiveThread::receive()
<<"Receive(): Invalid incoming packet, "
<<"size: " << received_size
<<", protocol: " << readU32(&packetdata[0]) <<std::endl);
continue;
}
u16 peer_id = readPeerId(*packetdata);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment