fuzz: extend coverage (#2073)

This commit is contained in:
Ivan Nardi
2023-08-20 15:18:19 +02:00
committed by GitHub
parent 5867f43fae
commit cc4461f424
29 changed files with 1041 additions and 84 deletions
-1
View File
@@ -192,7 +192,6 @@ static uint32_t dns_validchar[8] = {
static char* dns_error_code2string(u_int16_t error_code, char *buf, u_int buf_len) {
switch(error_code) {
case 0: return((char*)"NOERROR");
case 1: return((char*)"FORMERR");
case 2: return((char*)"SERVFAIL");
case 3: return((char*)"NXDOMAIN");
-2
View File
@@ -300,7 +300,6 @@ static void ndpi_search_raknet(struct ndpi_detection_module_struct *ndpi_struct,
}
return;
}
break;
case 0x09: /* Connection Request */
if (packet->payload_packet_len != 16)
@@ -370,7 +369,6 @@ static void ndpi_search_raknet(struct ndpi_detection_module_struct *ndpi_struct,
}
return;
}
break;
case 0xfe: /* Game Packet */
required_packets = 8;