[krbdev.mit.edu #7045] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Dec 18 16:57:00 EST 2013


Let SPNEGO display mechanism errors

To avoid potential recursion we use a thread local variable that tells
us whether the ancestor was called via spnego_gss_display_name().  If
we detect recursion, we assume that we returned a com_err code like
ENOMEM and call error_message(); in the worst case that will result in
an "Unknown error" message.

[ghudson at mit.edu: Edited comments and commit message; removed an
unneeded line of code.]

https://github.com/krb5/krb5/commit/d160bc733a3dbeb6d84f4e175234ff18738d9f66
Author: Simo Sorce <simo at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: d160bc733a3dbeb6d84f4e175234ff18738d9f66
Branch: master
 src/include/k5-thread.h             |    1 +
 src/lib/gssapi/spnego/spnego_mech.c |   42 ++++++++++++++++++++++++++++------
 2 files changed, 35 insertions(+), 8 deletions(-)



More information about the krb5-bugs mailing list