]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix uninitialized pointer in error case in dfs_cache_get_tgt_share
authorSteve French <stfrench@microsoft.com>
Sat, 4 Jun 2022 06:18:37 +0000 (01:18 -0500)
committerSteve French <stfrench@microsoft.com>
Sat, 4 Jun 2022 18:33:42 +0000 (13:33 -0500)
commitc6edcb8b5982dd1b3d5c93df706e82b6bd739f2c
treea0d0ede2e089af3c58bf57a1470549e59f5a8605
parent98dc090d49d82acadd43bf22c04856017d70ec2b
cifs: fix uninitialized pointer in error case in dfs_cache_get_tgt_share

Set default value of ppath to null.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/dfs_cache.c