summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-07-30 16:06:30 -0700
committerJeremy Allison <jra@samba.org>2008-07-30 16:06:30 -0700
commitd701d23b604dd21288e894b7d286de206eca2857 (patch)
treeee1914c89db4489df97dfde9fcd74a1a36abab78 /source3/libads
parente29e81624ef03e262c525aa209c076b0b12963b7 (diff)
downloadsamba-d701d23b604dd21288e894b7d286de206eca2857.tar.gz
samba-d701d23b604dd21288e894b7d286de206eca2857.tar.bz2
samba-d701d23b604dd21288e894b7d286de206eca2857.zip
Fix uninitialized variables.
Jeremy. (This used to be commit 1db7e00a5400863fd5dbb81c1a4c6ea6092d0495)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos_keytab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c
index 87b85550c5..77a50e4221 100644
--- a/source3/libads/kerberos_keytab.c
+++ b/source3/libads/kerberos_keytab.c
@@ -276,6 +276,7 @@ int ads_keytab_add_entry(ADS_STRUCT *ads, const char *srvPrinc)
ret = -1;
goto out;
}
+ ZERO_STRUCT(password);
password.data = password_s;
password.length = strlen(password_s);