mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
IPA KDB MS-PAC: return ENOMEM if allocation fails
This commit is contained in:
parent
7b5cc3ed83
commit
85b8c747bb
@ -1842,6 +1842,7 @@ krb5_error_code ipadb_sign_authdata(krb5_context context,
|
||||
krb5_princ_component(context, ks_client_princ, 0)->length) == 0)) {
|
||||
ipactx = ipadb_get_context(context);
|
||||
if (!ipactx) {
|
||||
kerr = ENOMEM;
|
||||
goto done;
|
||||
}
|
||||
if (ulc_casecmp(krb5_princ_component(context, ks_client_princ, 1)->data,
|
||||
|
Loading…
Reference in New Issue
Block a user