1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:kdc: Initialize pointers with NULL

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Joseph Sutton 2023-06-20 16:40:03 +12:00 committed by Stefan Metzmacher
parent 3784bca73e
commit 7e76f36d91

View File

@ -303,8 +303,8 @@ hdb_samba4_check_constrained_delegation(krb5_context context, HDB *db,
hdb_entry *entry,
krb5_const_principal target_principal)
{
struct samba_kdc_db_context *kdc_db_ctx;
struct samba_kdc_entry *skdc_entry;
struct samba_kdc_db_context *kdc_db_ctx = NULL;
struct samba_kdc_entry *skdc_entry = NULL;
krb5_error_code ret;
kdc_db_ctx = talloc_get_type_abort(db->hdb_db,