summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2021-09-24 02:52:40 +0300
committerSteve French <stfrench@microsoft.com>2021-09-24 05:12:23 +0300
commit1db1aa98871defd9316d13f59708f2277c4f9232 (patch)
tree95e0dc39a0f34e4d25883ca6f7ffcb94e9e60f94 /COPYING
parentb06d893ef2492245d0319b4136edb4c346b687a3 (diff)
downloadlinux-1db1aa98871defd9316d13f59708f2277c4f9232.tar.xz
smb3: correct server pointer dereferencing check to be more consistent
Address warning: fs/smbfs_client/misc.c:273 header_assemble() warn: variable dereferenced before check 'treeCon->ses->server' Pointed out by Dan Carpenter via smatch code analysis tool Although the check is likely unneeded, adding it makes the code more consistent and easier to read, as the same check is done elsewhere in the function. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions