diff options
author | Steve French <stfrench@microsoft.com> | 2021-07-02 04:01:19 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-07-03 01:36:26 +0200 |
commit | b019e1187ce4bb1f120cbea1a412d8aadb499260 (patch) | |
tree | 513e2217b11f7862e2c6e5bf50b1286f76461b4d /fs/utimes.c | |
parent | CIFS: Clarify SMB1 code for UnixCreateSymLink (diff) | |
download | linux-b019e1187ce4bb1f120cbea1a412d8aadb499260.tar.xz linux-b019e1187ce4bb1f120cbea1a412d8aadb499260.zip |
CIFS: Clarify SMB1 code for UnixSetPathInfo
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 doing SetPathInfo (setattr) when using the Unix
extensions. This doesn't change the address but makes it
slightly clearer.
Addresses-Coverity: 711528 ("Out of bounds read")
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/utimes.c')
0 files changed, 0 insertions, 0 deletions