git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c52644
)
Fix crash in SMB2 rename found by gentest. We must always have an lcomp
author
Jeremy Allison
<jra@samba.org>
Tue, 5 Oct 2010 23:47:23 +0000
(16:47 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 6 Oct 2010 22:59:15 +0000
(22:59 +0000)
in the destination struct for a rename, so set the flag appropriately.
Jeremy.
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 701f26246e2562297539c69c2a274bdb18adde4d..ac6f8cd9e36446f47b6941855b92eca0d9ec6ee0 100644
(file)
--- 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,
conn,
req->flags2 & FLAGS2_DFS_PATHNAMES,
newname,
-
0
,
+
UCF_SAVE_LCOMP
,
NULL,
&smb_fname_dst);
if (!NT_STATUS_IS_OK(status)) {
NULL,
&smb_fname_dst);
if (!NT_STATUS_IS_OK(status)) {