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:
f2da9c8
)
s4:gensec/schannel: remove unused talloc_reference() in schannel_update()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 23 Oct 2009 15:25:19 +0000
(17:25 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 24 Oct 2009 09:59:14 +0000
(11:59 +0200)
We never expose creds to the caller in schannel_update().
metze
source4/auth/gensec/schannel.c
patch
|
blob
|
history
diff --git
a/source4/auth/gensec/schannel.c
b/source4/auth/gensec/schannel.c
index 58cbb6a593c58c6eecee9b794a7923943dde7eb5..7b8bdec27a7b15327b3178de12bc90b6499fd61b 100644
(file)
--- a/
source4/auth/gensec/schannel.c
+++ b/
source4/auth/gensec/schannel.c
@@
-156,7
+156,7
@@
static NTSTATUS schannel_update(struct gensec_security *gensec_security, TALLOC_
return status;
}
- state->creds = talloc_
reference
(state, creds);
+ state->creds = talloc_
steal
(state, creds);
bind_schannel_ack.MessageType = NL_NEGOTIATE_RESPONSE;
bind_schannel_ack.Flags = 0;