Warning fix
This commit is contained in:
@@ -1738,10 +1738,8 @@ static void ndpi_compute_ja4(struct ndpi_detection_module_struct *ndpi_struct,
|
|||||||
printf("[JA4] %s [len: %lu]\n", ja_str, strlen(ja_str));
|
printf("[JA4] %s [len: %lu]\n", ja_str, strlen(ja_str));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
snprintf(flow->protos.tls_quic.ja4_client,
|
strncpy(flow->protos.tls_quic.ja4_client, ja_str, 36);
|
||||||
sizeof(flow->protos.tls_quic.ja4_client),
|
flow->protos.tls_quic.ja4_client[36] = 0;
|
||||||
"%s", ja_str);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* **************************************** */
|
/* **************************************** */
|
||||||
|
|||||||
Reference in New Issue
Block a user