summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-13 21:17:59 +0200
committerGünther Deschner <gd@samba.org>2009-09-13 21:21:54 +0200
commit07031464c4a718a71677b719d5a20657c2727f3a (patch)
tree00044c95a8775a883b2baa44fb228cae6a677f6e
parent8b0f54027ca5c836add755899d128467e9b67ebd (diff)
downloadsamba-07031464c4a718a71677b719d5a20657c2727f3a.tar.gz
samba-07031464c4a718a71677b719d5a20657c2727f3a.tar.bz2
samba-07031464c4a718a71677b719d5a20657c2727f3a.zip
s3-schannel: fix Coverity #950 OVERRUN_STATIC.
Guenther
-rw-r--r--source3/rpc_parse/parse_prs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index d428c3aa9e..c5c0c02090 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -1087,7 +1087,7 @@ static void schannel_digest(struct schannel_auth_struct *a,
SSVAL(sig,0,verf->SignatureAlgorithm);
SSVAL(sig,2,verf->SealAlgorithm);
SSVAL(sig,4,verf->Pad);
- SSVAL(sig,8,verf->Flags);
+ SSVAL(sig,6,verf->Flags);
/* verfiy the signature on the packet by MD5 over various bits */
MD5Init(&ctx3);