From f820647fa1be39c700b6989418e379114ec7ea3b Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Sun, 7 Jul 2019 13:50:49 +0200 Subject: [PATCH] adouble: ensure stat info is marked invalid on new path Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/lib/adouble.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c index 184fe9130da..2ee5f9fab8a 100644 --- a/source3/lib/adouble.c +++ b/source3/lib/adouble.c @@ -1827,6 +1827,8 @@ int adouble_path(TALLOC_CTX *ctx, /* And we're replacing base_name. */ TALLOC_FREE(smb_fname->base_name); + SET_STAT_INVALID(smb_fname->st); + if (!parent_dirname(smb_fname, smb_fname_in->base_name, &parent, &base)) { TALLOC_FREE(smb_fname); -- 2.47.3