The Samba-Bugzilla – Attachment 15135 Details for
Bug 13938
recvfile fails on streams
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable recvfile on streams
no-recvfile-on-streams.patch (text/plain), 770 bytes, created by
Ralph Böhme
on 2019-05-09 11:00:16 UTC
(
hide
)
Description:
Disable recvfile on streams
Filename:
MIME Type:
Creator:
Ralph Böhme
Created:
2019-05-09 11:00:16 UTC
Size:
770 bytes
patch
obsolete
>From 7ab13b402b541c59f6da785355f9d90f7a248470 Mon Sep 17 00:00:00 2001 >From: Ralph Boehme <slow@samba.org> >Date: Thu, 25 Apr 2019 10:57:58 +0200 >Subject: [PATCH] WIP s3:smbd: don't use recvfile on streams > >--- > source3/smbd/smb2_server.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c >index 956c5f0ca09..0d7dc7e20b9 100644 >--- a/source3/smbd/smb2_server.c >+++ b/source3/smbd/smb2_server.c >@@ -3499,6 +3499,9 @@ static bool is_smb2_recvfile_write(struct smbd_smb2_request_read_state *state) > if (IS_PRINT(fsp->conn)) { > return false; > } >+ if (fsp->base_fsp != NULL) { >+ return false; >+ } > > DEBUG(10,("Doing recvfile write len = %u\n", > (unsigned int)(state->pktfull - state->pktlen))); >-- >2.20.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 13938
: 15135 |
15136
|
15140