summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-13 15:17:46 +0200
committerGünther Deschner <gd@samba.org>2009-05-13 15:19:41 +0200
commit077327a923841338cf24162a67465c70fa3c4613 (patch)
treece4e00323f4590045cd6383b4372a30bd848af5d /source3/utils
parentc3e61b54606175858d2221e5f4a75f2fcf149631 (diff)
downloadsamba-077327a923841338cf24162a67465c70fa3c4613.tar.gz
samba-077327a923841338cf24162a67465c70fa3c4613.tar.bz2
samba-077327a923841338cf24162a67465c70fa3c4613.zip
s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not be retrieved.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 4de4bef837..f6f90030fe 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,