From: Philippe Antoine Date: Wed, 25 Jan 2023 15:20:00 +0000 (+0100) Subject: nfs2: improve READ parsing X-Git-Tag: suricata-6.0.10~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa4dedc1d42784d01bedb9e92398eaec460854b4;p=thirdparty%2Fsuricata.git nfs2: improve READ parsing Inspired by commit ddf14e51dcf5dabdb4bc07414a118530e2a1b819 But keeping old nom version --- diff --git a/rust/src/nfs/nfs2_records.rs b/rust/src/nfs/nfs2_records.rs index ed5500db1c..ff16a92ada 100644 --- a/rust/src/nfs/nfs2_records.rs +++ b/rust/src/nfs/nfs2_records.rs @@ -79,7 +79,7 @@ named!(pub parse_nfs2_reply_read, status: be_u32 >> attr_blob: take!(68) >> data_len: be_u32 - >> data_contents: rest + >> data_contents: take!(data_len) >> ( NfsReplyRead { status,