Commit 20b135e
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: 7efd081 ("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>1 parent 327a8d7 commit 20b135e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4886 | 4886 | | |
4887 | 4887 | | |
4888 | 4888 | | |
| 4889 | + | |
4889 | 4890 | | |
4890 | 4891 | | |
4891 | 4892 | | |
| |||
0 commit comments