[krbdev.mit.edu #7822] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Jun 26 16:06:33 EDT 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.

(cherry picked from commit 6bdaa746fec1cf29adcbe5b8e65c4b8993770b84)

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



More information about the krb5-bugs mailing list