From 083d80c502eaff8983ff4536c2ba86e547c6dc29 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Feb 2012 15:20:45 +0100 Subject: s3:rpc_client: initialize struct schannel_state to zero metze --- source3/rpc_client/cli_pipe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 7740fbc4bc..12f911b9fd 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2243,13 +2243,12 @@ NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain, goto fail; } - schannel_auth = talloc(result, struct schannel_state); + schannel_auth = talloc_zero(result, struct schannel_state); if (schannel_auth == NULL) { goto fail; } schannel_auth->state = SCHANNEL_STATE_START; - schannel_auth->seq_num = 0; schannel_auth->initiator = true; schannel_auth->creds = netlogon_creds_copy(result, creds); -- cgit