CIFS: Clarify SMB1 code for POSIX delete file
authorSteve French <stfrench@microsoft.com>
Thu, 22 Jul 2021 19:35:15 +0000 (14:35 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 22 Jul 2021 19:35:15 +0000 (14:35 -0500)
commit7b09d4e0be94968b7c6c117e34ca90cea9c6d986
treea4beaa3e841a8f10e30779d3876abd0601900f5f
parent21a64910997e0c1d268bebf9b1217ba5804d592d
CIFS: Clarify SMB1 code for POSIX delete file

Coverity also complains about the way we calculate the offset
(starting from the address of a 4 byte array within the
header structure rather than from the beginning of the struct
plus 4 bytes) for SMB1 CIFSPOSIXDelFile. This changeset
doesn't change the address but makes it slightly clearer.

Addresses-Coverity: 711519 ("Out of bounds write")
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifssmb.c