[krbdev.mit.edu #9276] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Mon Nov 2 21:13:37 EST 2026
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9276 >
Avoid the macOS API ccache in forked children
The macOS API ccache module communicates with the credential cache
service through the CCAPI framework and XPC. In a child process
forked from a parent that already used them, those calls can crash the
process. Record the pid of the first API ccache use; in a child
forked after that, report the API collection as empty, treat caches as
not found (KRB5_FCC_NOFILE), and leave CCAPI objects inherited from
the parent unreleased, so the child never calls the CCAPI framework or
XPC.
[ghudson at mit.edu: edited commit message and comment]
https://github.com/krb5/krb5/commit/e7a22fc32da7e5aafb2aba005b621081a898109c
Author: Douglas Eichelberger <d at eic.email>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: e7a22fc32da7e5aafb2aba005b621081a898109c
Branch: master
src/lib/krb5/ccache/cc_api_macos.c | 62 ++++++++++++++++++++++++++++++++------
1 file changed, 52 insertions(+), 10 deletions(-)
More information about the krb5-bugs
mailing list