diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-11-11 20:44:16 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-11-11 10:37:03 +0000 |
commit | ba127f9849a1ac93c9bab3b8377a880264353b16 (patch) | |
tree | 1b9fc6d2d21b72f93e6f4881750c235414a022b7 /source4/heimdal/lib/krb5 | |
parent | a9baabed562fb6858bd82ee7312faa908283dde4 (diff) | |
download | samba-ba127f9849a1ac93c9bab3b8377a880264353b16.tar.gz samba-ba127f9849a1ac93c9bab3b8377a880264353b16.tar.bz2 samba-ba127f9849a1ac93c9bab3b8377a880264353b16.zip |
heimdal Don't dereference NULL in error verify_checksum error path
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Nov 11 10:37:03 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/heimdal/lib/krb5')
-rw-r--r-- | source4/heimdal/lib/krb5/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |