Skip to content
Commit 0917310b authored by Steve French's avatar Steve French
Browse files

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: default avatarSachin Prabhu <sprabhu@redhat.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 4c4a525a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment