[krbdev.mit.edu #8078] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Feb 6 17:26:41 EST 2015


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.

(back ported from 6bdaa746fec1cf29adcbe5b8e65c4b8993770b84)

https://github.com/krb5/krb5/commit/14d6549b53e008fe3b2b1d0e480162b678dd9962
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 14d6549b53e008fe3b2b1d0e480162b678dd9962
Branch: krb5-1.11
 src/util/et/error_message.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list