git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdeb19f
)
s3: Fix bug 7917: Yet another bug in chain_reply
author
Volker Lendecke
<vl@samba.org>
Fri, 14 Jan 2011 15:43:00 +0000
(16:43 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Sat, 5 Mar 2011 13:34:51 +0000
(14:34 +0100)
Found by Michael Hanscho <samba@micha.priv.at> with a WinCE client.
(cherry picked from commit
8917d84130991ed24767f21876b18ac82b246d87
)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index 21b2c910401896fe7bcef2358bd03abbc0e197df..cbcbfadf3ce6f4ca4f0d96a69d97ea9da0ba5f33 100644
(file)
--- 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.
*/
- S
CVAL(req->chain_outbuf, smb_tid, C
VAL(req->outbuf, smb_tid));
- S
CVAL(req->chain_outbuf, smb_uid, C
VAL(req->outbuf, smb_uid));
+ S
SVAL(req->chain_outbuf, smb_tid, S
VAL(req->outbuf, smb_tid));
+ S
SVAL(req->chain_outbuf, smb_uid, S
VAL(req->outbuf, smb_uid));
if (!smb_splice_chain(&req->chain_outbuf,
CVAL(req->outbuf, smb_com),