git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93261a1
)
s3:rpc_client: initialize struct schannel_state to zero
author
Stefan Metzmacher
<metze@samba.org>
Mon, 27 Feb 2012 14:20:45 +0000
(15:20 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 2 Mar 2012 06:07:10 +0000
(07:07 +0100)
metze
source3/rpc_client/cli_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_pipe.c
b/source3/rpc_client/cli_pipe.c
index 7740fbc4bc2379508d05c1a3eec892bd3bdbfb0f..12f911b9fd8c1cfc01c11aaae0e4e8910c1b84ad 100644
(file)
--- 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);