summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-05-05 13:57:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:38 -0500
commiteff21e317e93a08ea756d6c4d345139bed57073b (patch)
tree211cc0d4860c12b775719a83ca866126764115da
parentbd90da5b60b82c8ddc82fa434aa724fba0749e0c (diff)
downloadsamba-eff21e317e93a08ea756d6c4d345139bed57073b.tar.gz
samba-eff21e317e93a08ea756d6c4d345139bed57073b.tar.bz2
samba-eff21e317e93a08ea756d6c4d345139bed57073b.zip
r15459: Add forgotten guid retrieval among other data and thus prevent
from returning uninitialised structure member. Thank heavens for build farm and valgrind :) rafal (This used to be commit daca283990c7a8b6efc952c9308c43b68dd49f06)
-rw-r--r--source4/libnet/libnet_rpc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c
index 06e46f4835..5d5bf194fa 100644
--- a/source4/libnet/libnet_rpc.c
+++ b/source4/libnet/libnet_rpc.c
@@ -615,9 +615,12 @@ static NTSTATUS libnet_RpcConnectDCInfo_recv(struct composite_context *c, struct
s = talloc_get_type(c->private_data, struct rpc_connect_dci_state);
r->out.realm = talloc_steal(mem_ctx, s->r.out.realm);
- r->out.domain_sid = talloc_steal(mem_ctx, s->r.out.domain_sid);
+ r->out.guid = talloc_steal(mem_ctx, s->r.out.guid);
r->out.domain_name = talloc_steal(mem_ctx, s->r.out.domain_name);
+ r->out.domain_sid = talloc_steal(mem_ctx, s->r.out.domain_sid);
r->out.dcerpc_pipe = talloc_steal(mem_ctx, s->r.out.dcerpc_pipe);
+
+ r->out.error_string = NULL;
}
talloc_free(c);