From df02c2310460ecf58fec28502b087268e60383fb Mon Sep 17 00:00:00 2001 From: kouril Date: Thu, 16 Sep 2004 12:47:25 +0000 Subject: [PATCH] don't dereference NULL pointer --- src/mod_auth_kerb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_auth_kerb.c b/src/mod_auth_kerb.c index 18d2171..7ae9bd4 100644 --- a/src/mod_auth_kerb.c +++ b/src/mod_auth_kerb.c @@ -921,7 +921,7 @@ int authenticate_user_krb5pwd(request_rec *r, end: log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "kerb_authenticate_user_krb5pwd ret=%d user=%s authtype=%s", - ret, (MK_USER)?MK_USER:"(NULL)", MK_AUTH_TYPE); + ret, (MK_USER)?MK_USER:"(NULL)", (MK_AUTH_TYPE)?MK_AUTH_TYPE:"(NULL)"); if (client) krb5_free_principal(kcontext, client); if (ccache) -- 2.1.4