From 109cbe37a2cf819f297b1ebf63f1817579bedf02 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 14 Jan 2011 16:43:00 +0100 Subject: s3: Fix bug 7917: Yet another bug in chain_reply Found by Michael Hanscho with a WinCE client. Autobuild-User: Volker Lendecke Autobuild-Date: Fri Jan 14 17:42:05 CET 2011 on sn-devel-104 --- source3/smbd/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index e5b6f68199..4a93e7f041 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2039,8 +2039,8 @@ void chain_reply(struct smb_request *req) * Update smb headers where subsequent chained commands * may have updated them. */ - SCVAL(req->chain_outbuf, smb_tid, CVAL(req->outbuf, smb_tid)); - SCVAL(req->chain_outbuf, smb_uid, CVAL(req->outbuf, smb_uid)); + SSVAL(req->chain_outbuf, smb_tid, SVAL(req->outbuf, smb_tid)); + SSVAL(req->chain_outbuf, smb_uid, SVAL(req->outbuf, smb_uid)); if (!smb_splice_chain(&req->chain_outbuf, CVAL(req->outbuf, smb_com), -- cgit