[krbdev.mit.edu #7353] SVN Commit
Benjamin Kaduk via RT
rt at krbdev.mit.edu
Wed Sep 12 13:42:13 EDT 2012
Unregister error message key on library unload
Revision fcdd2de1 added the K5_KEY_GSS_KRB5_ERROR_MESSAGE key, and
registered it in the gssapi library initialization routine, but
did not unregister it in the libary finalization routine.
When the library is unloaded and reloaded in the same process,
this leads to an assertion failure, since we check that
destructors_set[keynum] is zero (no destructor set) when registering
a key in util/support/threads.c.
Unregister the key on library cleanup to resolve the error.
https://github.com/krb5/krb5/commit/4ab584c830024757cc628b1783dde6220a9fec6d
Author: Ben Kaduk <kaduk at mit.edu>
Commit: 4ab584c830024757cc628b1783dde6220a9fec6d
Branch: master
src/lib/gssapi/krb5/gssapi_krb5.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
More information about the kfwdev
mailing list