summaryrefslogtreecommitdiff
path: root/fs/cifs/readdir.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2021-07-07 13:34:47 -0500
committerSteve French <stfrench@microsoft.com>2021-07-07 16:42:25 -0500
commitf371793d6e13a1387b83a72d7bb2c0e3a9ea654f (patch)
treeb1576e13bcf69a96966bb1d75026a77f37a23eb8 /fs/cifs/readdir.c
parent2a780e8b64874ae5b4201a491799aef838da7bdd (diff)
CIFS: Clarify SMB1 code for rename open 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 RenameOpenFile. This changeset doesn't change the address but makes it slightly clearer. Addresses-Coverity: 711521 ("Out of bounds write") Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/readdir.c')
0 files changed, 0 insertions, 0 deletions