diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-08-20 15:18:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-20 15:18:19 +0200 |
commit | cc4461f4246f9e8eca9be5796aa53ec785d1a4f0 (patch) | |
tree | 873eb5d7a031e23c8c0401fa63b17af6cb105e2f /src/lib/protocols | |
parent | 5867f43fae70b1a08b64e8635bf8183ba4d29124 (diff) |
fuzz: extend coverage (#2073)
Diffstat (limited to 'src/lib/protocols')
-rw-r--r-- | src/lib/protocols/dns.c | 1 | ||||
-rw-r--r-- | src/lib/protocols/raknet.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/protocols/dns.c b/src/lib/protocols/dns.c index 07358468d..5fc71a67a 100644 --- a/src/lib/protocols/dns.c +++ b/src/lib/protocols/dns.c @@ -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"); diff --git a/src/lib/protocols/raknet.c b/src/lib/protocols/raknet.c index 49db3cc55..e134f3668 100644 --- a/src/lib/protocols/raknet.c +++ b/src/lib/protocols/raknet.c @@ -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; |