aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-08-05 12:52:07 +0300
committerSteve French <stfrench@microsoft.com>2020-08-06 22:06:10 -0500
commit20b135e48cdda7a7dfccef7286def66e5c9686c3 (patch)
tree708ca016a0346701a0b47d583eb2bc583039372c /fs/cifs/smb2pdu.c
parent327a8d76b1ac2037f87bf041f3bc076407284ffc (diff)
cifs: Fix an error pointer dereference in cifs_mount()
The error handling calls kfree(full_path) so we can't let it be a NULL pointer. There used to be a NULL assignment here but we accidentally deleted it. Add it back. Fixes: 7efd08158261 ("cifs: document and cleanup dfs mount") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
0 files changed, 0 insertions, 0 deletions