summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-03-31 14:09:45 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-03-31 18:09:57 +0200
commit34ea813553368a7f0805693c9731e9b0abfefa99 (patch)
tree7963daff85c5d0c638a1bb5131ac8728fc791c30
parentd9ad60f0dc40be1e1d533f96ec0032e01035d85b (diff)
downloadsamba-34ea813553368a7f0805693c9731e9b0abfefa99.tar.gz
samba-34ea813553368a7f0805693c9731e9b0abfefa99.tar.bz2
samba-34ea813553368a7f0805693c9731e9b0abfefa99.zip
s3-net: Do not use uninitialized value
s3-net: Do not use uninitialized value Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Mar 31 18:09:57 CEST 2011 on sn-devel-104
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 4c523455b6..2df33c618a 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -6739,6 +6739,8 @@ static int rpc_trustdom_list(struct net_context *c, int argc, const char **argv)
return -1;
};
+ b = pipe_hnd->binding_handle;
+
nt_status = rpccli_lsa_open_policy2(pipe_hnd, mem_ctx, false, KEY_QUERY_VALUE,
&connect_hnd);
if (NT_STATUS_IS_ERR(nt_status)) {