summaryrefslogtreecommitdiff
path: root/net/ife
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2021-07-06 21:27:26 -0500
committerSteve French <stfrench@microsoft.com>2021-07-07 11:52:53 -0500
commite3973ea3a7c218c1e92bdbfe1da934ef69d7a4ed (patch)
tree3128353a613e1b3a708757ca6ad8ea3b1f275bed /net/ife
parent90810c25cf028bbd7e8abd9903c37610ef7072c7 (diff)
CIFS: Clarify SMB1 code for SetFileSize
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 setting the file size using SMB1. This changeset doesn't change the address but makes it slightly clearer. Addresses-Coverity: 711525 ("Out of bounds write") Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/ife')
0 files changed, 0 insertions, 0 deletions