The Samba-Bugzilla – Attachment 14746 Details for
Bug 13720
Potential NULL pointer dereference in SMB2_CLOSE debug call
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch from master for 4.9 and 4.8 v3
patch (text/plain), 1.33 KB, created by
Guenther Deschner
on 2018-12-19 11:34:48 UTC
(
hide
)
Description:
patch from master for 4.9 and 4.8 v3
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2018-12-19 11:34:48 UTC
Size:
1.33 KB
patch
obsolete
>From fe3aa461ea2995a1fb03d6ff4c7c4b39609f0054 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Tue, 18 Dec 2018 11:10:04 +0100 >Subject: [PATCH] s3-smbd: avoid assuming fsp is always intact after close_file > call. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Instead use the already copied smb_fname directly. > >https://bugzilla.samba.org/show_bug.cgi?id=13720 > >Guenther > >Signed-off-by: Guenther Deschner <gd@samba.org> >Reviewed-by: Stefan Metzmacher <metze@samba.org> > >Autobuild-User(master): Günther Deschner <gd@samba.org> >Autobuild-Date(master): Tue Dec 18 20:11:07 CET 2018 on sn-devel-144 > >(cherry picked from commit 90fab07f0710bb2061d3f14326c874dd049823fc) >--- > source3/smbd/smb2_close.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/smbd/smb2_close.c b/source3/smbd/smb2_close.c >index 992b52929ec..dea9512dfc6 100644 >--- a/source3/smbd/smb2_close.c >+++ b/source3/smbd/smb2_close.c >@@ -263,7 +263,7 @@ static NTSTATUS smbd_smb2_close(struct smbd_smb2_request *req, > status = close_file(smbreq, fsp, NORMAL_CLOSE); > if (!NT_STATUS_IS_OK(status)) { > DEBUG(5,("smbd_smb2_close: close_file[%s]: %s\n", >- fsp_str_dbg(fsp), nt_errstr(status))); >+ smb_fname_str_dbg(smb_fname), nt_errstr(status))); > return status; > } > >-- >2.19.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:
metze
:
review+
Actions:
View
Attachments on
bug 13720
:
14743
|
14744
| 14746