The branch, master has been updated
via 667db8e8c78 s3: SMB1: Don't allow recvfile on stream fsp's.
from 79111dd0d06 dsdb/mod/count_attrs: set ldb var before using it (CID
1444979)
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 667db8e8c7836c750085729f5062807669cbb204
Author: Jeremy Allison <[email protected]>
Date: Thu May 9 12:53:11 2019 -0700
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 <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>
Autobuild-User(master): Jeremy Allison <[email protected]>
Autobuild-Date(master): Fri May 10 01:14:02 UTC 2019 on sn-devel-184
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/reply.c | 4 ++++
1 file changed, 4 insertions(+)
Changeset truncated at 500 lines:
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);
--
Samba Shared Repository