[17168] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9276] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Nov 3 19:18:23 2026

From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-2372244-1793751497-881.9276-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9276":;
Date: Tue, 03 Nov 2026 19:18:17 -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]

(cherry picked from commit e7a22fc32da7e5aafb2aba005b621081a898109c)

https://github.com/krb5/krb5/commit/1230bfd8e7a6439b37efe3dab4554932b489bf2a
Author: Douglas Eichelberger <d@eic.email>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 1230bfd8e7a6439b37efe3dab4554932b489bf2a
Branch: krb5-1.22
 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

home help back first fref pref prev next nref lref last post