summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-13 15:17:46 +0200
committerKarolin Seeger <kseeger@samba.org>2009-06-19 11:13:20 +0200
commit1fb3ee26df3271dca802df07e20ea5b30da660e4 (patch)
tree2dfe687d314c5c96516577e647e81c9fc29d13e5
parentd6c28913f3109d1327a3d1369b6eafd3874b2dca (diff)
downloadsamba-1fb3ee26df3271dca802df07e20ea5b30da660e4.tar.gz
samba-1fb3ee26df3271dca802df07e20ea5b30da660e4.tar.xz
samba-1fb3ee26df3271dca802df07e20ea5b30da660e4.zip
s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not be retrieved.
Guenther
-rw-r--r--source/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c
index ceeed638cad..edb1fbe69e4 100644
--- a/source/utils/net_rpc.c
+++ b/source/utils/net_rpc.c
@@ -5938,7 +5938,7 @@ static NTSTATUS vampire_trusted_domain(struct rpc_pipe_client *pipe_hnd,
NTSTATUS nt_status;
union lsa_TrustedDomainInfo *info = NULL;
char *cleartextpwd = NULL;
- DATA_BLOB data;
+ DATA_BLOB data = data_blob_null;
nt_status = rpccli_lsa_QueryTrustedDomainInfoBySid(pipe_hnd, mem_ctx,
pol,