diff options
author | Günther Deschner <gd@samba.org> | 2009-05-13 15:17:46 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-08-10 18:06:51 +0200 |
commit | a50a4d48d8174b2e02daeef508d36f08a1bbe32a (patch) | |
tree | bcf9ff952716fef0ed31c77b19eb2372cf0458cc | |
parent | 6d43789468bc9bfa679f71e5c8ab449f6a70ae4e (diff) | |
download | samba-a50a4d48d8174b2e02daeef508d36f08a1bbe32a.tar.gz samba-a50a4d48d8174b2e02daeef508d36f08a1bbe32a.tar.xz samba-a50a4d48d8174b2e02daeef508d36f08a1bbe32a.zip |
s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not be retrieved.
Guenther
(cherry picked from commit 1fb3ee26df3271dca802df07e20ea5b30da660e4)
-rw-r--r-- | 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 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, |