Skip to content

Commit

Permalink
fixed numeric truncation error in kerberos.c (#2032)
Browse files Browse the repository at this point in the history
  • Loading branch information
headshog authored Jul 5, 2023
1 parent 7ffd31e commit 2e5004d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/protocols/kerberos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e5004d

Please sign in to comment.