commit | 20b135e48cdda7a7dfccef7286def66e5c9686c3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Aug 05 12:52:07 2020 +0300 |
committer | Steve French <stfrench@microsoft.com> | Thu Aug 06 22:06:10 2020 -0500 |
tree | 708ca016a0346701a0b47d583eb2bc583039372c | |
parent | 327a8d76b1ac2037f87bf041f3bc076407284ffc [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>