]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cifs: fix unitialized variable poential problem with network I/O cache lock patch
authorSteve French <stfrench@microsoft.com>
Thu, 16 Jan 2020 21:58:00 +0000 (15:58 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:38:43 +0000 (08:38 +0100)
commit79f596ace09cb7ccffc1e6341970462b06d183b7
tree3fcbe2b32b6d1ec7eae42ae2fb45d95c8161d372
parent3babf6abb494e5e62f0200e3dfc0c5babb89106d
cifs: fix unitialized variable poential problem with network I/O cache lock patch

[ Upstream commit 463a7b457c02250a84faa1d23c52da9e3364aed2 ]

static analysis with Coverity detected an issue with the following
commit:

 Author: Paulo Alcantara (SUSE) <pc@cjr.nz>
 Date:   Wed Dec 4 17:38:03 2019 -0300

    cifs: Avoid doing network I/O while holding cache lock

Addresses-Coverity: ("Uninitialized pointer read")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/dfs_cache.c