diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/kerberos_keytab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c index 94698c6cc2..721a8c6f53 100644 --- a/source3/libads/kerberos_keytab.c +++ b/source3/libads/kerberos_keytab.c @@ -756,6 +756,7 @@ int ads_keytab_list(const char *keytab_name) ret = krb5_kt_start_seq_get(context, keytab, &cursor); if (ret) { + ZERO_STRUCT(cursor); goto out; } |