git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23be056
)
s3: smbd: Ensure we never call mangle_is_mangled() for a posix path.
author
Jeremy Allison
<jra@samba.org>
Tue, 9 Nov 2021 00:31:40 +0000
(16:31 -0800)
committer
Ralph Boehme
<slow@samba.org>
Tue, 16 Nov 2021 20:21:37 +0000
(20:21 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 51bf619a51b7721da4163328d5e47f1959d6f164..4929c1c9429856a0b3e009a10abeb8a22855ba1c 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-8083,6
+8083,7
@@
NTSTATUS rename_internals(TALLOC_CTX *ctx,
*/
if (!VALID_STAT(smb_fname_src->st) &&
+ !posix_pathname &&
mangle_is_mangled(fname_src_mask, conn->params)) {
char *new_mask = NULL;
mangle_lookup_name_from_8_3(ctx, fname_src_mask, &new_mask,