]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust/probing: safety check for null input
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 7 May 2024 14:33:00 +0000 (16:33 +0200)
committerPhilippe Antoine <pantoine@oisf.net>
Thu, 23 May 2024 20:14:00 +0000 (22:14 +0200)
commitd519f74770e0b297de512c04ece524b390e35ceb
tree027bafeeb17e2b81c1c13db810bfb899a891e654
parent65733e2a93a7ac44c0a35724bf14a480703f5fcb
rust/probing: safety check for null input

Ticket: 7013

Done consistently for all protocols

This may change some protocols behaviors which failed early
if they found there was not enough data...

(cherry picked from commit 37a9003736413b0bc9704099e189fd402922df43)
rust/src/dcerpc/dcerpc.rs
rust/src/dcerpc/dcerpc_udp.rs
rust/src/dhcp/dhcp.rs
rust/src/dns/dns.rs
rust/src/krb/krb5.rs
rust/src/mqtt/mqtt.rs
rust/src/nfs/nfs.rs
rust/src/ntp/ntp.rs
rust/src/smb/smb.rs
rust/src/snmp/snmp.rs