]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/krb5: avoid integer underflow with krb5.ticket_encryption
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 17 Feb 2025 08:08:54 +0000 (09:08 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 19 Feb 2025 08:21:33 +0000 (09:21 +0100)
commit8ae5665767a1660cdb0eaa8134c5910852b1afad
tree737a910fce5ec0d2ba1d602300144799e8d55869
parent06b506e2cd0bdba184b439430489a336d41b72a4
detect/krb5: avoid integer underflow with krb5.ticket_encryption

Ticket: 7560

When passing INT32_MIN aka 0x80000000, we cannot compute -vali
as it does not fit into a i32
rust/src/krb/detect.rs