summaryrefslogtreecommitdiffstats
path: root/source/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-07-30 16:22:16 -0700
committerJeremy Allison <jra@samba.org>2008-07-30 16:22:16 -0700
commit5fb17b866642a9f971cce6d9f228b4d52618e42b (patch)
tree84ce0303c706a86a2c4c10b64a78b010d5f03c34 /source/libads
parent4f62fa50c7d542db4a2b8976d85da590194203f0 (diff)
downloadsamba-5fb17b866642a9f971cce6d9f228b4d52618e42b.tar.gz
samba-5fb17b866642a9f971cce6d9f228b4d52618e42b.tar.xz
samba-5fb17b866642a9f971cce6d9f228b4d52618e42b.zip
Fix uninitialized variable.
Jeremy.
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/kerberos_keytab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/libads/kerberos_keytab.c b/source/libads/kerberos_keytab.c
index d0161ada011..ab6d1d30ad5 100644
--- a/source/libads/kerberos_keytab.c
+++ b/source/libads/kerberos_keytab.c
@@ -256,6 +256,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);