The Samba-Bugzilla – Attachment 12274 Details for
Bug 12021
smbd Crashing (Signal 4) on File Delete
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Test patch for 4.3.x.
0001-s3-smbd-Prevent-recursion-when-POSIX-opening-a-file-.patch (text/plain), 936 bytes, created by
Jeremy Allison
on 2016-07-18 20:41:44 UTC
(
hide
)
Description:
Test patch for 4.3.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2016-07-18 20:41:44 UTC
Size:
936 bytes
patch
obsolete
>From c7fee9447aa97ec700e54e0af222ae25e1d8c9d2 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Mon, 18 Jul 2016 13:40:07 -0700 >Subject: [PATCH] s3: smbd: Prevent recursion when POSIX opening a file for > delete that contains names streams. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12021 > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/smbd/open.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source3/smbd/open.c b/source3/smbd/open.c >index 0a6ec0d..f2ea8d2 100644 >--- a/source3/smbd/open.c >+++ b/source3/smbd/open.c >@@ -4507,6 +4507,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, > > if ((conn->fs_capabilities & FILE_NAMED_STREAMS) > && (access_mask & DELETE_ACCESS) >+ && !(file_attributes & FILE_FLAG_POSIX_SEMANTICS) > && !is_ntfs_stream_smb_fname(smb_fname)) { > /* > * We can't open a file with DELETE access if any of the >-- >2.8.0.rc3.226.g39d4020 >
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 12021
:
12270
|
12273
|
12274
|
12281
|
12282
|
12284