]> 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)
commit5e2b07caa8dd4cc3bdc19a9d352b8cc2bb487379
treea0d0ede2e089af3c58bf57a1470549e59f5a8605
parentb4ea6e235ae66338bf55f8cf9a616ca007086e8c
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