From 0cec0f0912bc0cc15715fd68483f28e5b68e4439 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 5 Oct 2010 16:47:23 -0700 Subject: Fix crash in SMB2 rename found by gentest. We must always have an lcomp in the destination struct for a rename, so set the flag appropriately. Jeremy. --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 701f26246e..ac6f8cd9e3 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -6080,7 +6080,7 @@ static NTSTATUS smb_file_link_information(connection_struct *conn, conn, req->flags2 & FLAGS2_DFS_PATHNAMES, newname, - 0, + UCF_SAVE_LCOMP, NULL, &smb_fname_dst); if (!NT_STATUS_IS_OK(status)) { -- cgit