From: Jeremy Allison Date: Tue, 13 Jul 2021 00:21:03 +0000 (-0700) Subject: s3: VFS: default. In vfswrap_read_dfs_pathat(), cope with relative pathnames. X-Git-Tag: talloc-2.3.3~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4da6a9f4e66f4222dfa819125289de0aacdfaa2d;p=thirdparty%2Fsamba.git s3: VFS: default. In vfswrap_read_dfs_pathat(), cope with relative pathnames. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 23fef7a6783..102938e332e 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -437,8 +437,6 @@ static NTSTATUS vfswrap_read_dfs_pathat(struct vfs_handle_struct *handle, #endif int ret; - SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp); - if (is_named_stream(smb_fname)) { status = NT_STATUS_OBJECT_NAME_NOT_FOUND; goto err;