The Samba-Bugzilla – Attachment 16640 Details for
Bug 14722
parent_smb_fname() talloc()s atname->base_name off the wrong context.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.14.next, 4.13.next.
0001-s3-lib-Fix-talloc-heirarcy-error-in-parent_smb_fname.patch (text/plain), 965 bytes, created by
Jeremy Allison
on 2021-06-02 16:57:20 UTC
(
hide
)
Description:
git-am fix for 4.14.next, 4.13.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2021-06-02 16:57:20 UTC
Size:
965 bytes
patch
obsolete
>From 0367f4caff7369ed799d06d98398805b8e48e23a Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 1 Jun 2021 13:27:47 -0700 >Subject: [PATCH] s3: lib: Fix talloc heirarcy error in parent_smb_fname(). > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14722 > >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> >(cherry picked from commit c500d99e2f5aaec102bf952b7941a2596b3e35a1) >--- > source3/lib/filename_util.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/lib/filename_util.c b/source3/lib/filename_util.c >index f535ea1f088..1d4206c3300 100644 >--- a/source3/lib/filename_util.c >+++ b/source3/lib/filename_util.c >@@ -320,7 +320,7 @@ bool parent_smb_fname(TALLOC_CTX *mem_ctx, > } > TALLOC_FREE(name->base_name); > >- name->base_name = talloc_strdup(mem_ctx, p); >+ name->base_name = talloc_strdup(name, p); > if (name == NULL) { > TALLOC_FREE(frame); > return false; >-- >2.27.0 >
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:
jra
:
review?
(
slow
)
npower
:
review+
Actions:
View
Attachments on
bug 14722
: 16640