Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: tlyu@mit.edu Subject: git commit X-RT-Original-Encoding: iso-8859-1 Content-Length: 634 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 Committer: Tom Yu Commit: df13f814e5fdbad4c86eb160055ac490adc052c7 Branch: krb5-1.12 src/lib/gssapi/mechglue/g_dsp_name_ext.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)