diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-03 15:41:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-03 15:41:18 +0000 |
commit | cca1cd9a3447dd067503e4a85ebd1679ee78a48e (patch) | |
tree | 3ca40ec42ae2071e24cd5903ad4ffedc0f076a19 /ssl | |
parent | 2c772c87003fd941f2c536672921160c21b77964 (diff) |
Submitted by: Tomas Hoger <thoger@redhat.com>
Fix for CVE-2010-0433 where some kerberos enabled versions of OpenSSL
could be crashed if the relevant tables were not present (e.g. chrooted).
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/kssl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/kssl.c b/ssl/kssl.c index b5fa1f147d..0033e9bf62 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -1803,6 +1803,9 @@ kssl_ctx_show(KSSL_CTX *kssl_ctx) kssl_ctx->service_name ? kssl_ctx->service_name: KRB5SVC, KRB5_NT_SRV_HST, &princ); + if (krb5rc) + goto exit; + krb5rc = krb5_kt_get_entry(krb5context, krb5keytab, princ, 0 /* IGNORE_VNO */, |