fuzz: extend fuzzing coverage

This commit is contained in:
Nardi Ivan
2023-10-15 12:00:26 +02:00
committed by Ivan Nardi
parent b6179467eb
commit 16b4913be6
10 changed files with 131 additions and 5 deletions
+1 -1
View File
@@ -5881,7 +5881,7 @@ static int fully_enc_heuristic(struct ndpi_detection_module_struct *ndpi_str,
cnt += 1;
cnt_consecutives += 1;
if(cnt_consecutives >= 20) { /* Ex4 */
return 0;;
return 0;
}
} else {
cnt_consecutives = 0;
-1
View File
@@ -2059,7 +2059,6 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) {
case NDPI_TLS_ALPN_SNI_MISMATCH:
return("ALPN/SNI Mismatch");
break;
case NDPI_MALWARE_HOST_CONTACTED:
return("Client contacted a malware host");
+2
View File
@@ -70,6 +70,8 @@ static void aes_gen_tables( void )
#if defined(MBEDTLS_AESNI_C) && defined(MBEDTLS_HAVE_X86_64)
if( mbedtls_aesni_has_support( MBEDTLS_AESNI_AES ) )
aes_aesni_has_support = 1;
else
aes_aesni_has_support = 0;
#endif
/*