git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f094cc3
)
Fix Coverity ID 2638: OVERRUN_STATIC
author
Volker Lendecke
<vl@samba.org>
Mon, 28 Nov 2011 13:50:03 +0000
(14:50 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 28 Nov 2011 13:52:32 +0000
(14:52 +0100)
libcli/smb/smbXcli_base.c
patch
|
blob
|
history
diff --git
a/libcli/smb/smbXcli_base.c
b/libcli/smb/smbXcli_base.c
index b35db9efcda128ed8ef3c0cd3984c724a70b46b7..16f594b9cb8915c0af4a7bf3168aa02870d74428 100644
(file)
--- a/
libcli/smb/smbXcli_base.c
+++ b/
libcli/smb/smbXcli_base.c
@@
-1062,7
+1062,7
@@
struct tevent_req *smb1cli_req_create(TALLOC_CTX *mem_ctx,
SSVAL(state->smb1.hdr, HDR_PID, pid);
SSVAL(state->smb1.hdr, HDR_UID, uid);
SSVAL(state->smb1.hdr, HDR_MID, 0); /* this comes later */
- S
S
VAL(state->smb1.hdr, HDR_WCT, wct);
+ S
C
VAL(state->smb1.hdr, HDR_WCT, wct);
state->smb1.vwv = vwv;