The branch, master has been updated
       via  47d79d7e7e4 s3: smbd: SMB1 SMBsplwr doesn't send a reply packet on 
success.
      from  54343f50a62 winbindd: remove obsolete sequence_number from struct 
winbindd_methods

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 47d79d7e7e406f7dd204ded7c72cfed3e0761ad5
Author: Jeremy Allison <j...@samba.org>
Date:   Thu Apr 29 09:50:30 2021 -0700

    s3: smbd: SMB1 SMBsplwr doesn't send a reply packet on success.
    
    Missing call to set up req->outbuf means no reply is sent.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=14696
    
    Signed-off-by: Jeremy Allison <j...@samba.org>
    Reviewed-by: Ralph Boehme <s...@samba.org>
    
    Autobuild-User(master): Jeremy Allison <j...@samba.org>
    Autobuild-Date(master): Thu Apr 29 21:27:58 UTC 2021 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/reply.c | 2 ++
 1 file changed, 2 insertions(+)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index dcda32e8cc1..f7b0fe72f13 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -7059,6 +7059,8 @@ void reply_printwrite(struct smb_request *req)
 
        DEBUG(3, ("printwrite %s num=%d\n", fsp_fnum_dbg(fsp), numtowrite));
 
+       reply_outbuf(req, 0, 0);
+
        END_PROFILE(SMBsplwr);
        return;
 }


-- 
Samba Shared Repository

Reply via email to