diff options
author | Steve French <stfrench@microsoft.com> | 2021-06-23 03:53:08 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-06-24 03:24:30 +0300 |
commit | 0917310b984c1ac24da2be0ebe992539b9ba94ed (patch) | |
tree | e9ff527315aa2398152acea23865c22659eedb44 /fs/afs/rxrpc.c | |
parent | 4c4a525ae590623eb3ba667151194a024e643ffd (diff) | |
download | linux-0917310b984c1ac24da2be0ebe992539b9ba94ed.tar.xz |
cifs: missing null check for newinode pointer
in cifs_do_create we check if newinode is valid before referencing it
but are missing the check in one place in fs/cifs/dir.c
Addresses-Coverity: 1357292 ("Dereference after null check")
Acked-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/afs/rxrpc.c')
0 files changed, 0 insertions, 0 deletions