aboutsummaryrefslogtreecommitdiff
path: root/include/(public-mirror)
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-08-09 06:16:15 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-08-09 06:16:45 +0000
commit9503ed0dfdbd61399ecd298c7693d570f8a7538e (patch)
tree45e1b5b05bae37d9e1ffefadea6f3bed2d0480f4 /include/(public-mirror)
parent62fd20bde5a6473143ae5091a562241eca156c30 (diff)
pam_ksu: Fix crash when no ticket is presentHEADmain
When building with MIT Kerberos, pam_ksu crashes if the user doesn't have a ticket because default_principal is never populated in get_su_principal(). Change the compatibility function to use krb5_build_principal_alloc_va instead, and make its interface compatible with the equivalent Heimdal function. Despite what the comment says, we do free the default principal later in get_su_principal() so this shouldn't cause any leaks. Reviewed by: des, philip, cy, jhb Differential Revision: https://reviews.freebsd.org/D51829
Diffstat (limited to 'include/(public-mirror)')
0 files changed, 0 insertions, 0 deletions