]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31e4d93734b8db5b35636ed0dffe049b172a88c2
treea4beaa3e841a8f10e30779d3876abd0601900f5f
parent253b41411d8686f1313499a895f57cc5e241d905
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