]> www.infradead.org Git - users/willy/xarray.git/commit
smb3: add additional null check in SMB2_tcon
authorSteve French <stfrench@microsoft.com>
Thu, 11 Nov 2021 22:18:14 +0000 (16:18 -0600)
committerSteve French <stfrench@microsoft.com>
Fri, 12 Nov 2021 16:22:05 +0000 (10:22 -0600)
commitbac35395d27c4b406fec0a6c2528744f64de6e13
tree267fbd915f7a4691b1f9c25ab19bd7079653a775
parent6b7895182ce398fa474af8cfc051754e6539c6b1
smb3: add additional null check in SMB2_tcon

Although unlikely to be possible for rsp to be null here,
the check is safer to add, and quiets a Coverity warning.

Addresses-Coverity: 1420428 ("Explicit null dereferenced")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c