mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Connection: Stop processing malformed packet when encountered
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user