Ivan Nardi
2022-01-18 21:52:37 +01:00
committed by GitHub
parent bd036f96f9
commit 9f050fa0a6
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -2145,11 +2145,11 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,
int rc = sprintf(&flow->protos.tls_quic.encrypted_sni.esni[off], "%02X", packet->payload[i] & 0XFF);
if(rc <= 0) {
flow->protos.tls_quic.encrypted_sni.esni[off] = '\0';
break;
} else
off += rc;
}
flow->protos.tls_quic.encrypted_sni.esni[off] = '\0';
}
}
}