The branch, v3-5-test has been updated
       via  8917d84 s3: Fix bug 7917: Yet another bug in chain_reply
      from  dc63f45 s3-rpcclient: Fix bug #7880: cmd_spoolss_deletedriver() 
returned without checking all architectures.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit 8917d84130991ed24767f21876b18ac82b246d87
Author: Volker Lendecke <v...@samba.org>
Date:   Fri Jan 14 16:43:00 2011 +0100

    s3: Fix bug 7917: Yet another bug in chain_reply
    
    Found by Michael Hanscho <sa...@micha.priv.at> with a WinCE client.

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

Summary of changes:
 source3/smbd/process.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 21b2c91..cbcbfad 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1856,8 +1856,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),


-- 
Samba Shared Repository

Reply via email to