Commit 68c5818a authored by Steve French's avatar Steve French
Browse files

smb311: correct incorrect offset field in compression header



The offset field in the compression header is 32 bits not 16.

Reviewed-by: default avatarBharath SM <bharathsm@microsoft.com>
Reported-by: default avatarEnzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 5b142b37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@ struct smb2_compression_hdr {
	__le32 OriginalCompressedSegmentSize;
	__le16 CompressionAlgorithm;
	__le16 Flags;
	__le16 Offset; /* this is the size of the uncompressed SMB2 header below */
	__le32 Offset; /* this is the size of the uncompressed SMB2 header below */
	/* uncompressed SMB2 header (READ or WRITE) goes here */
	/* compressed data goes here */
} __packed;