Ivan Nardi 2022-01-27 10:59:35 +01:00 committed by GitHub
parent 011ee3ecbd
commit 9dcc4a2334
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -230,7 +230,7 @@ void ndpi_search_kerberos(struct ndpi_detection_module_struct *ndpi_struct,
name_offset++;
}
if(name_offset < packet->payload_packet_len - 1 &&
if(name_offset < packet->payload_packet_len - 3 &&
packet->payload[name_offset+1] == 0x1b)
{
name_offset += 2;