mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:kdc: Initialize out parameter of samba_kdc_get_user_info_from_db()
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
0ed6d11e58
commit
d57062300f
@ -1143,6 +1143,8 @@ krb5_error_code samba_kdc_get_user_info_from_db(TALLOC_CTX *mem_ctx,
|
||||
return KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN;
|
||||
}
|
||||
|
||||
*info_out = NULL;
|
||||
|
||||
if (entry->info_from_db == NULL) {
|
||||
struct loadparm_context *lp_ctx = entry->kdc_db_ctx->lp_ctx;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user