fixed numeric truncation error in kerberos.c (#2032)

This commit is contained in:
headshog 2023-07-05 15:29:32 +03:00 • committed by GitHub
parent 7ffd31ebc3
commit 2e5004ddb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -417,7 +417,7 @@ static void ndpi_search_kerberos(struct ndpi_detection_module_struct *ndpi_struc
|| (packet->payload[koffset] == 0x1E)
|| (packet->payload[koffset] == 0x0D)
|| (packet->payload[koffset] == 0x0E))) {
u_int16_t koffsetp, body_offset = 0, pad_len;
u_int32_t koffsetp, body_offset = 0, pad_len;
u_int8_t msg_type = packet->payload[koffset];
#ifdef KERBEROS_DEBUG