]> 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)
committerGreg Hudson <ghudson@mit.edu>
Fri, 17 Jan 2014 20:58:08 +0000 (15:58 -0500)
commit6bdaa746fec1cf29adcbe5b8e65c4b8993770b84
tree7179781119c5c26633b0bbca4a4bb11cc85c62e1
parent7dad0bee30fbbde8cfc0eacd2d1487c198a004a1
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.

ticket: 7822 (new)
target_version: 1.12.2
tags: pullup
src/util/et/error_message.c