summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-15 22:13:12 +0200
committerGünther Deschner <gd@samba.org>2009-09-16 00:11:23 +0200
commitf8014d30e7023532dfdfce7469024f20af37a3d3 (patch)
treeab163deb88fffa7f8969485f50c52cdd95dbe470 /source3/rpc_client
parent87acb96fc360aba0020581eeb4e66768a81e485b (diff)
downloadsamba-f8014d30e7023532dfdfce7469024f20af37a3d3.tar.gz
samba-f8014d30e7023532dfdfce7469024f20af37a3d3.tar.bz2
samba-f8014d30e7023532dfdfce7469024f20af37a3d3.zip
s3-schannel: fix blob length when pulling off a NL_AUTH_SIGNATURE in
cli_pipe_verify_schannel(). Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index a667a9fb13..d71c561625 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -720,7 +720,7 @@ static NTSTATUS cli_pipe_verify_schannel(struct rpc_pipe_client *cli, RPC_HDR *p
return NT_STATUS_BUFFER_TOO_SMALL;
}
- blob = data_blob_const(prs_data_p(current_pdu) + prs_offset(current_pdu), data_len);
+ blob = data_blob_const(prs_data_p(current_pdu) + prs_offset(current_pdu), auth_len);
ndr_err = ndr_pull_struct_blob(&blob, talloc_tos(), NULL, &schannel_chk,
(ndr_pull_flags_fn_t)ndr_pull_NL_AUTH_SIGNATURE);