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:
f7acb36
)
s4:auth/gensec/schannel: 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
source4/auth/gensec/schannel.c
patch
|
blob
|
history
diff --git
a/source4/auth/gensec/schannel.c
b/source4/auth/gensec/schannel.c
index 4c846c02c8f4311c94fc6d78fd3d16584c0152af..2465e53bff2b87504a0a6ea8d4f9c91aca2d2e51 100644
(file)
--- a/
source4/auth/gensec/schannel.c
+++ b/
source4/auth/gensec/schannel.c
@@
-236,13
+236,12
@@
static NTSTATUS schannel_start(struct gensec_security *gensec_security)
{
struct schannel_state *state;
- state = talloc(gensec_security, struct schannel_state);
+ state = talloc
_zero
(gensec_security, struct schannel_state);
if (!state) {
return NT_STATUS_NO_MEMORY;
}
state->state = SCHANNEL_STATE_START;
- state->seq_num = 0;
gensec_security->private_data = state;
return NT_STATUS_OK;