aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/quic.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-05-30 00:54:17 +0200
committerLuca Deri <deri@ntop.org>2022-05-30 00:54:17 +0200
commit1da9f1a36fc2f60d8a2f13fca88a7675d327e3ad (patch)
treea31d58df13a16aa3f651a61186a32e7f5fa1f1e7 /src/lib/protocols/quic.c
parentf25deeccb1ccbebd6346271828762fdd8326c32b (diff)
Updated tests results
Code cleanup
Diffstat (limited to 'src/lib/protocols/quic.c')
-rw-r--r--src/lib/protocols/quic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/quic.c b/src/lib/protocols/quic.c
index 0f1d37a70..61e7f6880 100644
--- a/src/lib/protocols/quic.c
+++ b/src/lib/protocols/quic.c
@@ -1395,7 +1395,7 @@ static void process_chlo(struct ndpi_detection_module_struct *ndpi_struct,
if(ndpi_is_valid_hostname(flow->host_server_name,
strlen(flow->host_server_name)) == 0) {
- char str[64];
+ char str[128];
snprintf(str, sizeof(str), "Invalid host %s", flow->host_server_name);
ndpi_set_risk(ndpi_struct, flow, NDPI_INVALID_CHARACTERS, str);