The Samba-Bugzilla – Attachment 15136 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]
git am fix for master for SMB1
0001-s3-SMB1-Don-t-allow-recvfile-on-stream-fsp-s.patch (text/plain), 906 bytes, created by
Jeremy Allison
on 2019-05-09 19:55:15 UTC
(
hide
)
Description:
git am fix for master for SMB1
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2019-05-09 19:55:15 UTC
Size:
906 bytes
patch
obsolete
>From dd0b83f086a5382aeaf2487b82dee5b09e16d18b Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Thu, 9 May 2019 12:53:11 -0700 >Subject: [PATCH] s3: SMB1: Don't allow recvfile on stream fsp's. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13938 > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/smbd/reply.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c >index ef93e63c821..c1060e52b99 100644 >--- a/source3/smbd/reply.c >+++ b/source3/smbd/reply.c >@@ -4972,6 +4972,10 @@ bool is_valid_writeX_buffer(struct smbXsrv_connection *xconn, > DEBUG(10,("is_valid_writeX_buffer: printing tid\n")); > return false; > } >+ if (fsp->base_fsp != NULL) { >+ DEBUG(10,("is_valid_writeX_buffer: stream fsp\n")); >+ return false; >+ } > doff = SVAL(inbuf,smb_vwv11); > > numtowrite = SVAL(inbuf,smb_vwv10); >-- >2.21.0.1020.gf2820cf01a-goog >
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:
slow
:
review+
Actions:
View
Attachments on
bug 13938
:
15135
| 15136 |
15140