The Samba-Bugzilla – Attachment 8822 Details for
Bug 9778
Samba directory code uses dirfd() without vectoring through a VFS call.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Additional git-am fix that needs to be applied on top of the 4.0.x patch.
0001-Fix-bug-9822-Samba-crashing-during-Win8-sync.patch (text/plain), 868 bytes, created by
Jeremy Allison
on 2013-04-26 18:40:21 UTC
(
hide
)
Description:
Additional git-am fix that needs to be applied on top of the 4.0.x patch.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2013-04-26 18:40:21 UTC
Size:
868 bytes
patch
obsolete
>From 8e7a998641bde5fdae31724add6a07444ed1309d Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 26 Apr 2013 10:47:41 -0700 >Subject: [PATCH] Fix bug #9822 - Samba crashing during Win8 sync. > >When refactoring the dptr desctructor, I removed >the code to NULL out the struct smb_Dir * pointer >inside the fsp struct by mistake. > >Re-add the NULLing out of that pointer when >closing a directory pointer associated with >an open file. > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/smbd/dir.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c >index 0c40a50..7dd959f 100644 >--- a/source3/smbd/dir.c >+++ b/source3/smbd/dir.c >@@ -685,6 +685,7 @@ void dptr_CloseDir(files_struct *fsp) > * all resource deallocation. > */ > dptr_close_internal(fsp->dptr); >+ fsp->dptr = NULL; > } > } > >-- >1.8.2.1 >
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 9778
:
8760
|
8762
|
8806
|
8822
|
8829
|
8942