git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3e61b5
)
s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not be retrieved.
author
Günther Deschner
<gd@samba.org>
Wed, 13 May 2009 13:17:46 +0000
(15:17 +0200)
committer
Günther Deschner
<gd@samba.org>
Wed, 13 May 2009 13:19:41 +0000
(15:19 +0200)
Guenther
source3/utils/net_rpc.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc.c
b/source3/utils/net_rpc.c
index 4de4bef837a16847319b48e5cdb50cdbd92c5820..f6f90030fe6f137d91df12c7f9e3353369c780a0 100644
(file)
--- 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;
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,
nt_status = rpccli_lsa_QueryTrustedDomainInfoBySid(pipe_hnd, mem_ctx,
pol,