From: Jeremy Allison Date: Tue, 9 Nov 2021 22:23:22 +0000 (-0800) Subject: s3: smbd: SMB1 reply_copy(). Posix pathnames should never call into mangle_is_mangled(). X-Git-Tag: ldb-2.5.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3c40250fb1afafe833a02ff65474a76ea6e41eb;p=thirdparty%2Fsamba.git s3: smbd: SMB1 reply_copy(). Posix pathnames should never call into mangle_is_mangled(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 00b0910928e..8000ff4be3d 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -8941,6 +8941,7 @@ void reply_copy(struct smb_request *req) * Tine Smukavec . */ if (!VALID_STAT(smb_fname_src->st) && + !posix_pathnames && mangle_is_mangled(fname_src_mask, conn->params)) { char *new_mask = NULL; mangle_lookup_name_from_8_3(ctx, fname_src_mask,