From: Jeremy Allison Date: Thu, 29 Apr 2021 16:50:30 +0000 (-0700) Subject: s3: smbd: SMB1 SMBsplwr doesn't send a reply packet on success. X-Git-Tag: tevent-0.11.0~945 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47d79d7e7e406f7dd204ded7c72cfed3e0761ad5;p=thirdparty%2Fsamba.git 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 Reviewed-by: Ralph Boehme Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Thu Apr 29 21:27:58 UTC 2021 on sn-devel-184 --- 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; }