The Samba-Bugzilla – Attachment 17775 Details for
Bug 15313
large directory optimization broken for non-lcomp path elements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for 4.17
bug-15313-4.17.txt (text/plain), 1.18 KB, created by
Volker Lendecke
on 2023-02-24 09:04:00 UTC
(
hide
)
Description:
Patch for 4.17
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2023-02-24 09:04:00 UTC
Size:
1.18 KB
patch
obsolete
>From 5d4fda6a95270cf275f40d6a7cfbe68df2de8764 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Fri, 17 Feb 2023 10:02:37 +0100 >Subject: [PATCH] smbd: Fix case normalization in for directories > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=15313 >Signed-off-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> > >Autobuild-User(master): Volker Lendecke <vl@samba.org> >Autobuild-Date(master): Fri Feb 24 08:46:14 UTC 2023 on atb-devel-224 > >(cherry picked from commit bf9130d375b6c401bb79fc1a0911975814759e3b) >--- > source3/smbd/filename.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c >index 2e03c6a5ab7..b93a70adda8 100644 >--- a/source3/smbd/filename.c >+++ b/source3/smbd/filename.c >@@ -1153,6 +1153,14 @@ static NTSTATUS filename_convert_dirfsp_nosymlink( > char *substitute = NULL; > size_t unparsed = 0; > >+ status = normalize_filename_case(conn, dirname, ucf_flags); >+ if (!NT_STATUS_IS_OK(status)) { >+ DBG_ERR("normalize_filename_case %s failed: %s\n", >+ dirname, >+ nt_errstr(status)); >+ goto fail; >+ } >+ > status = openat_pathref_dirfsp_nosymlink( > mem_ctx, > conn, >-- >2.30.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
slow
:
review+
Actions:
View
Attachments on
bug 15313
:
17774
| 17775