git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d558281
)
s3-rpcclient: Make sure current_nt_hash is initialized.
author
Andreas Schneider
<asn@samba.org>
Thu, 30 Oct 2014 15:12:16 +0000
(16:12 +0100)
committer
Jeremy Allison
<jra@samba.org>
Fri, 31 Oct 2014 02:47:40 +0000
(
03:47
+0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/rpcclient.c
b/source3/rpcclient/rpcclient.c
index 59685051a4dc5dfc2efb99172df00ad55e9dde77..9dec094f1577556679c9ccf836f3fcf9cde3ce5b 100644
(file)
--- a/
source3/rpcclient/rpcclient.c
+++ b/
source3/rpcclient/rpcclient.c
@@
-764,7
+764,9
@@
static NTSTATUS do_cmd(struct cli_state *cli,
enum netr_SchannelType sec_chan_type = 0;
const char *_account_name = NULL;
const char *account_name = NULL;
- struct samr_Password current_nt_hash;
+ struct samr_Password current_nt_hash = {
+ .hash = { 0 },
+ };
struct samr_Password *previous_nt_hash = NULL;
if (!get_trust_pw_hash(get_cmdline_auth_info_domain(auth_info),