fuzz: extend fuzzing coverage
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
|
||||
Vendored
+2
@@ -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
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user