mirror of
				https://codeberg.org/1414codeforge/ubgpsuite.git
				synced 2025-06-05 21:29:11 +02:00 
			
		
		
		
	[peerindex/peerindex.c] Out of range peer indexes do count as errors
This commit is contained in:
		| @@ -233,6 +233,7 @@ static void Peerindex_MarkPeerRefs(void) | ||||
| 		Uint16 idx = beswap16(rib->peerIndex); | ||||
| 		if (idx >= S.npeers) { | ||||
| 			Peerindex_Warning("CORRUPT MRT RECORD: Peer index '%u' is out of range", (unsigned) idx); | ||||
| 			S.nerrors++; | ||||
| 			continue; | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user