summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);