mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: smbd: Ensure we never call mangle_is_mangled() for a posix path.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
23be0565dc
commit
395acac7b4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user