s3: smbd: SMB1 SMBsplwr doesn't send a reply packet on success.
authorJeremy Allison <jra@samba.org>
Thu, 29 Apr 2021 16:50:30 +0000 (09:50 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 3 May 2021 09:06:36 +0000 (09:06 +0000)
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 <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr 29 21:27:58 UTC 2021 on sn-devel-184

(cherry picked from commit 47d79d7e7e406f7dd204ded7c72cfed3e0761ad5)

Autobuild-User(v4-13-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-13-test): Mon May  3 09:06:36 UTC 2021 on sn-devel-184

source3/smbd/reply.c

index f911fc006a34dede5446375d3c7d634a4f1c6da3..a0da291035040f466e9e4aa0e7039689b8b73838 100644 (file)
@@ -7093,6 +7093,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;
 }