mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix CID 11027: Wrong sizeof argument
https://fedorahosted.org/freeipa/ticket/2037
This commit is contained in:
@@ -85,7 +85,7 @@ krb5_error_code ipadb_get_pwd_policy(krb5_context kcontext, char *name,
|
||||
goto done;
|
||||
}
|
||||
|
||||
pentry = calloc(1, sizeof(osa_policy_ent_t));
|
||||
pentry = calloc(1, sizeof(osa_policy_ent_rec));
|
||||
if (!pentry) {
|
||||
kerr = ENOMEM;
|
||||
goto done;
|
||||
|
||||
Reference in New Issue
Block a user