]> git.ipfire.org Git - thirdparty/suricata.git/commit
nfs/rpc: enforce length field limits
authorVictor Julien <vjulien@oisf.net>
Sat, 19 Feb 2022 07:42:35 +0000 (08:42 +0100)
committerJason Ish <jason.ish@oisf.net>
Tue, 15 Mar 2022 18:05:56 +0000 (12:05 -0600)
commit432af6d5ede43db785d3f0ace12f346e5361d719
tree306d20ac16adfa578cbe9abecb1412e09a93eaa3
parent4b00d94eb98368ef8dfbf7f08ad0e495193558d0
nfs/rpc: enforce length field limits

Limits based on the Linux kernel limits. Then multiplied a few times
to allow for other implementations to have higher limits.

(cherry picked from commit fe76ab1803bea02f47f691b5944ba319a3bc0300)
rust/src/nfs/rpc_records.rs