git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a084b4
)
s4:librpc/rpc: use dcerpc_binding_dup() in dcerpc_schannel_key_send()
author
Stefan Metzmacher
<metze@samba.org>
Thu, 6 Feb 2014 17:51:45 +0000
(18:51 +0100)
committer
Günther Deschner
<gd@samba.org>
Tue, 11 Feb 2014 15:20:32 +0000
(16:20 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/librpc/rpc/dcerpc_schannel.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/dcerpc_schannel.c
b/source4/librpc/rpc/dcerpc_schannel.c
index c4bedfa9136e1a8310d338eef664af1bb5b1491c..9ce36774da08d584d0cecc38a81aaac6106033c4 100644
(file)
--- a/
source4/librpc/rpc/dcerpc_schannel.c
+++ b/
source4/librpc/rpc/dcerpc_schannel.c
@@
-346,11
+346,9
@@
static struct composite_context *dcerpc_schannel_key_send(TALLOC_CTX *mem_ctx,
}
/* allocate binding structure */
- s->binding =
talloc_zero(c, struct dcerpc_
binding);
+ s->binding =
dcerpc_binding_dup(s, s->pipe->
binding);
if (composite_nomem(s->binding, c)) return c;
- *s->binding = *s->pipe->binding;
-
/* request the netlogon endpoint mapping */
epm_map_req = dcerpc_epm_map_binding_send(c, s->binding,
&ndr_table_netlogon,