fuzz: improve fuzzing coverage (#2239)

This commit is contained in:
Ivan Nardi
2024-01-02 15:22:44 +01:00
committed by GitHub
parent 0f4d9f5054
commit 3c7ed34ce9
145 changed files with 72 additions and 57 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ u_int32_t ndpi_hash_string_len(const char *str, u_int len) {
two independent 64-bit linear congruential generators are applied
results are mixed, scrambled and cast to 32-bit
*/
u_int32_t ndpi_quick_16_byte_hash(u_int8_t *in_16_bytes_long) {
u_int32_t ndpi_quick_16_byte_hash(const u_int8_t *in_16_bytes_long) {
u_int64_t a = *(u_int64_t*)(in_16_bytes_long + 0);
u_int64_t c = *(u_int64_t*)(in_16_bytes_long + 8);