From 89b413895b37004ce41c30a6fcbd76ab19a23d4b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Feb 2012 15:20:45 +0100 Subject: s3:rpc_server: initialize struct schannel_state to zero metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Fri Mar 2 08:48:23 CET 2012 on sn-devel-104 --- source3/rpc_server/srv_pipe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 9be2bc8d72..4330a7ddc3 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -479,14 +479,13 @@ static bool pipe_schannel_auth_bind(struct pipes_struct *p, return False; } - schannel_auth = talloc(p, struct schannel_state); + schannel_auth = talloc_zero(p, struct schannel_state); if (!schannel_auth) { TALLOC_FREE(creds); return False; } schannel_auth->state = SCHANNEL_STATE_START; - schannel_auth->seq_num = 0; schannel_auth->initiator = false; schannel_auth->creds = creds; -- cgit