diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-01-22 02:07:56 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-01-27 02:24:17 +0100 |
commit | fe1292686333d1dadaf84091f585ee903b9ddb84 (patch) | |
tree | 88ab712c9db2ed0b3c8efd46ec6c2e5800241cbe /arch/mips/tools | |
parent | smb3: fix default permissions on new files when mounting with modefromsid (diff) | |
download | linux-fe1292686333d1dadaf84091f585ee903b9ddb84.tar.xz linux-fe1292686333d1dadaf84091f585ee903b9ddb84.zip |
cifs: fix NULL dereference in match_prepath
RHBZ: 1760879
Fix an oops in match_prepath() by making sure that the prepath string is not
NULL before we pass it into strcmp().
This is similar to other checks we make for example in cifs_root_iget()
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'arch/mips/tools')
0 files changed, 0 insertions, 0 deletions