diff options
| author | Steve French <[email protected]> | 2021-07-06 21:27:26 -0500 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-07-07 11:52:53 -0500 |
| commit | e3973ea3a7c218c1e92bdbfe1da934ef69d7a4ed (patch) | |
| tree | 3128353a613e1b3a708757ca6ad8ea3b1f275bed /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | 90810c25cf028bbd7e8abd9903c37610ef7072c7 (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) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions