[krbdev.mit.edu #7822] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Fri Jan 17 15:58:56 EST 2014


Avoid assertion failure in error_message

r17942 added a call to get_thread_buffer in the first part of
error_message, prior to the call to com_err_initialize.  This can
cause an assertion failure from k5_getspecific if error_message is
called on a system error before any other com_err functions are
called.  Move the initialization call earlier to prevent this.

https://github.com/krb5/krb5/commit/6bdaa746fec1cf29adcbe5b8e65c4b8993770b84
Author: Greg Hudson <ghudson at mit.edu>
Commit: 6bdaa746fec1cf29adcbe5b8e65c4b8993770b84
Branch: master
 src/util/et/error_message.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list