mirror of https://github.com/OISF/suricata
mqtt/detect: fix mqtt_parse_bool return type
Previously we were boxing a u8 and returning it as a pointer to a boolean. While this is probably not an issue itself, the value 2 was allowed to be converted to a boolean, which is undefined behavior in Rust.pull/14801/head
parent
b9e0f9cc8b
commit
b0c912588c
Loading…
Reference in New Issue