From a1c0639ddd8ba0cc2b8778b786ccc5d44aa99a63 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Mon, 2 Jan 2023 20:29:32 -0600 Subject: [PATCH] krb5: Fix NULL deref in KCM: ccache --- lib/krb5/kcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/kcm.c b/lib/krb5/kcm.c index f20fc5193..17a26e34f 100644 --- a/lib/krb5/kcm.c +++ b/lib/krb5/kcm.c @@ -1355,7 +1355,7 @@ _krb5_kcm_is_running(krb5_context context) krb5_ccache id = &ccdata; krb5_boolean running; - ret = kcm_alloc(context, NULL, NULL, NULL, &id); + ret = kcm_alloc(context, &krb5_kcm_ops, NULL, NULL, &id); if (ret) return 0;