[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Fri May 10 01:15:02 UTC 2019


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 <jra at samba.org>
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 <jra at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    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



More information about the samba-cvs mailing list