diff options
author | Steve French <stfrench@microsoft.com> | 2021-07-07 04:42:08 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-07-07 18:53:17 +0200 |
commit | 2a780e8b64874ae5b4201a491799aef838da7bdd (patch) | |
tree | 0cc1f93971aeff9b5d02c0b57def21ad0d0b56b1 /fs/reiserfs | |
parent | CIFS: Clarify SMB1 code for SetFileSize (diff) | |
download | linux-2a780e8b64874ae5b4201a491799aef838da7bdd.tar.xz linux-2a780e8b64874ae5b4201a491799aef838da7bdd.zip |
CIFS: Clarify SMB1 code for delete
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 SetFileDisposition (which is used to
unlink a file by setting the delete on close flag). This
changeset doesn't change the address but makes it slightly
clearer.
Addresses-Coverity: 711524 ("Out of bounds write")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions