diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-02-27 15:20:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-03-02 08:48:23 +0100 |
commit | 89b413895b37004ce41c30a6fcbd76ab19a23d4b (patch) | |
tree | 244c259e64f940a264faa5544d73e41ba8ed2632 | |
parent | 083d80c502eaff8983ff4536c2ba86e547c6dc29 (diff) | |
download | samba-89b413895b37004ce41c30a6fcbd76ab19a23d4b.tar.gz samba-89b413895b37004ce41c30a6fcbd76ab19a23d4b.tar.bz2 samba-89b413895b37004ce41c30a6fcbd76ab19a23d4b.zip |
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
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 3 |
1 files changed, 1 insertions, 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; |