From 1fb3ee26df3271dca802df07e20ea5b30da660e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 13 May 2009 15:17:46 +0200 Subject: [PATCH] s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not be retrieved. Guenther --- source/utils/net_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.2