diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-14 16:43:00 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-01-14 17:42:05 +0100 |
commit | 109cbe37a2cf819f297b1ebf63f1817579bedf02 (patch) | |
tree | d5c3dee843ec06f8be5f1fcf3f9b2d58dc655cd9 /source3/smbd | |
parent | d7af8753abf7dfea6af334e2a6eb9e175127a139 (diff) | |
download | samba-109cbe37a2cf819f297b1ebf63f1817579bedf02.tar.gz samba-109cbe37a2cf819f297b1ebf63f1817579bedf02.tar.bz2 samba-109cbe37a2cf819f297b1ebf63f1817579bedf02.zip |
s3: Fix bug 7917: Yet another bug in chain_reply
Found by Michael Hanscho <samba@micha.priv.at> with a WinCE client.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 14 17:42:05 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
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), |