From: | tlyu@mit.edu |
Subject: | git commit |
Check for null name_type in gss_display_name_ext
It is possible for the input name's name_type to be GSS_C_NO_OID.
g_OID_equal() does not account for GSS_C_NO_OID, so we have to
manually check before use to prevent null pointer dereferences.
(cherry picked from commit 3fdf09ac9a36581b47f40c9d177e463cc12687ff)
https://github.com/krb5/krb5/commit/df13f814e5fdbad4c86eb160055ac490adc052c7
Author: Solly Ross <sross@redhat.com>
Committer: Tom Yu <tlyu@mit.edu>
Commit: df13f814e5fdbad4c86eb160055ac490adc052c7
Branch: krb5-1.12
src/lib/gssapi/mechglue/g_dsp_name_ext.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)