[krbdev.mit.edu #7823] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Jan 16 15:46:29 EST 2014


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.]

(cherry picked from commit d160bc733a3dbeb6d84f4e175234ff18738d9f66)

https://github.com/krb5/krb5/commit/60ced93e5350fa6a18f19316e4753f9ebbd8bc9d
Author: Simo Sorce <simo at redhat.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 60ced93e5350fa6a18f19316e4753f9ebbd8bc9d
Branch: krb5-1.11
 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