mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3:rpc_server: initialize struct schannel_state to zero
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 2 08:48:23 CET 2012 on sn-devel-104
This commit is contained in:
parent
083d80c502
commit
89b413895b
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user