]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid assertion failure in error_message
authorGreg Hudson <ghudson@mit.edu>
Thu, 16 Jan 2014 16:32:10 +0000 (11:32 -0500)
committerTom Yu <tlyu@mit.edu>
Fri, 6 Feb 2015 21:52:14 +0000 (16:52 -0500)
commit14d6549b53e008fe3b2b1d0e480162b678dd9962
tree72aae2f6ea2e4b1a4fda2aefab15505ddb0b3494
parent08b5facdaa3397126b7502d5b1cd1aff1216c840
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)

ticket: 8078 (new)
version_fixed: 1.11.6
status: resolved
src/util/et/error_message.c