]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix conditional in kadm5_chpass_principal_3() 1423/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 10 Apr 2025 00:22:15 +0000 (20:22 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 22 Apr 2025 18:51:53 +0000 (14:51 -0400)
commit42e2a33ada511bd1b52df71d763bf1156355d332
treeae90f03ad6a83999d671072d0eedddc4bea2c1cc
parente195747d2f8a8e1cd1694d768dba9265439228d0
Fix conditional in kadm5_chpass_principal_3()

Ensure that kadm5_chpass_principal_3() does not reference pol or hist
when the principal has a policy reference but the policy does not
exist.  (Both structures are zeroed in this case, so the resulting
checks are pointless but have defined and harmless behavior.)
src/lib/kadm5/srv/svr_principal.c