The Samba-Bugzilla – Attachment 16645 Details for
Bug 14736
Error path in change_file_owner_to_parent() can free in-use memory.
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-smbd-Remove-erroneous-TALLOC_FREE-smb_fname_paren.patch (text/plain), 1.06 KB, created by
Jeremy Allison
on 2021-06-09 19:50:36 UTC
(
hide
)
Description:
git-am fix for 4.14.next, 4.13.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2021-06-09 19:50:36 UTC
Size:
1.06 KB
patch
obsolete
>From 02608afcc9bc0a4714d05bd0d399664db1cff02f Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Wed, 9 Jun 2021 12:47:16 -0700 >Subject: [PATCH] s3: smbd: Remove erroneous TALLOC_FREE(smb_fname_parent) in > change_file_owner_to_parent() error path. > >Caller is still using this ! > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14736 > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/smbd/open.c | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/source3/smbd/open.c b/source3/smbd/open.c >index 0ace5b5a0da..e7187fcc7f2 100644 >--- a/source3/smbd/open.c >+++ b/source3/smbd/open.c >@@ -993,7 +993,6 @@ void change_file_owner_to_parent(connection_struct *conn, > "directory %s. Error was %s\n", > smb_fname_str_dbg(smb_fname_parent), > strerror(errno))); >- TALLOC_FREE(smb_fname_parent); > return; > } > >@@ -1003,7 +1002,6 @@ void change_file_owner_to_parent(connection_struct *conn, > "is already owned by uid %d\n", > fsp_str_dbg(fsp), > (int)fsp->fsp_name->st.st_ex_uid )); >- TALLOC_FREE(smb_fname_parent); > return; > } > >-- >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
Actions:
View
Attachments on
bug 14736
:
16645
|
16651