From: Günther Deschner Date: Wed, 13 May 2009 13:17:46 +0000 (+0200) Subject: s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not be retrieved. X-Git-Tag: tdb-1.1.5~578 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=077327a923841338cf24162a67465c70fa3c4613;p=thirdparty%2Fsamba.git s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not be retrieved. Guenther --- diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 4de4bef837a..f6f90030fe6 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -5739,7 +5739,7 @@ static NTSTATUS vampire_trusted_domain(struct rpc_pipe_client *pipe_hnd, char *cleartextpwd = NULL; uint8_t session_key[16]; DATA_BLOB session_key_blob; - DATA_BLOB data; + DATA_BLOB data = data_blob_null; nt_status = rpccli_lsa_QueryTrustedDomainInfoBySid(pipe_hnd, mem_ctx, pol,