From 52004b47ef992275b0cd36b40a29d3d6b26dcd16 Mon Sep 17 00:00:00 2001 From: =?utf-8?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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c index 8377e1c..74a610e 100644 --- a/source/utils/net_rpc.c +++ b/source/utils/net_rpc.c @@ -5763,7 +5763,7 @@ static NTSTATUS vampire_trusted_domain(struct rpc_pipe_client *pipe_hnd, union lsa_TrustedDomainInfo *info = NULL; char *cleartextpwd = NULL; uint8_t nt_hash[16]; - DATA_BLOB data; + DATA_BLOB data = data_blob_null; nt_status = rpccli_lsa_QueryTrustedDomainInfoBySid(pipe_hnd, mem_ctx, pol, -- 1.6.2.2