[17156] in Kerberos-V5-bugs
[krbdev.mit.edu #9276] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon Nov 2 21:13:43 2026
From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To:
Message-ID: <rt-4.4.3-2-2249818-1793672017-786.9276-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9276":;
Date: Mon, 02 Nov 2026 21:13:37 -0500
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
<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@mit.edu: edited commit message and comment]
https://github.com/krb5/krb5/commit/e7a22fc32da7e5aafb2aba005b621081a898109c
Author: Douglas Eichelberger <d@eic.email>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: e7a22fc32da7e5aafb2aba005b621081a898109c
Branch: master
src/lib/krb5/ccache/cc_api_macos.c | 62 ++++++++++++++++++++++++++++++++------
1 file changed, 52 insertions(+), 10 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs