]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust/probing: safety check for null input 11096/head
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 7 May 2024 14:33:00 +0000 (16:33 +0200)
committerPhilippe Antoine <pantoine@oisf.net>
Fri, 17 May 2024 06:42:41 +0000 (08:42 +0200)
commitb5566192130db48e22ad88f511e0ad56b56ef2f8
treebc0c29714833803c5cebb5dbe88f090e382a25d5
parente797836b6e01fc4e9bb246fee3529a88beb6718e
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)
12 files changed:
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/modbus/modbus.rs
rust/src/mqtt/mqtt.rs
rust/src/nfs/nfs.rs
rust/src/ntp/ntp.rs
rust/src/quic/quic.rs
rust/src/smb/smb.rs
rust/src/snmp/snmp.rs