From ba127f9849a1ac93c9bab3b8377a880264353b16 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 11 Nov 2010 20:44:16 +1100 Subject: heimdal Don't dereference NULL in error verify_checksum error path Autobuild-User: Andrew Bartlett Autobuild-Date: Thu Nov 11 10:37:03 UTC 2010 on sn-devel-104 --- source4/heimdal/lib/krb5/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/heimdal') diff --git a/source4/heimdal/lib/krb5/crypto.c b/source4/heimdal/lib/krb5/crypto.c index 006028b601..d5d9c1d9d5 100644 --- a/source4/heimdal/lib/krb5/crypto.c +++ b/source4/heimdal/lib/krb5/crypto.c @@ -1945,7 +1945,7 @@ verify_checksum(krb5_context context, krb5_set_error_message(context, ret, N_("Decrypt integrity check failed for checksum " "type %s, key type %s", ""), - ct->name, crypto->et->name); + ct->name, crypto ? crypto->et->name : "(unkeyed)"); } else { ret = 0; } -- cgit