]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust: fix assertions_on_constants for assert!(false)
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 4 Jan 2024 11:48:12 +0000 (12:48 +0100)
committerJason Ish <jason.ish@oisf.net>
Tue, 18 Feb 2025 21:43:11 +0000 (15:43 -0600)
commita40b37ba4452179195f5b710ac99ce9464437cdf
tree00a2c51778ba776f486dfdbefa80971b3e50b4d0
parentc7ff76cac5be516e70cda325836828bc4fc564cf
rust: fix assertions_on_constants for assert!(false)

using panic! instead with a string message

(cherry picked from commit a8199bf2ca16e8394b6bf5c41ba1bafe88f6ff53)
rust/src/dcerpc/dcerpc_udp.rs
rust/src/detect/byte_math.rs
rust/src/detect/uint.rs
rust/src/dhcp/parser.rs
rust/src/sip/parser.rs