[krbdev.mit.edu #8614] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Tue Nov 3 13:14:14 EST 2020
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8614 >
Unregister thread key in SPNEGO finalization
Commit d160bc733a3dbeb6d84f4e175234ff18738d9f66 (ticket 7045) added a
new thread key K5_KEY_GSS_SPNEGO_STATUS and registered it in SPNEGO
library initialization, but neglected to unregister it in
finalization. As a result, loading, unloading, and reloading
libgssapi_krb5 could throw an assertion failure if libkrb5support
remained loaded. Unregister the key in SPNEGO finalization and add a
test case.
Reported and investigated by Adam Dabrowski.
(cherry picked from commit 07ff54d0bb85109df114612bbbfa6559f4a1e0cb)
https://github.com/krb5/krb5/commit/0d092a739429610af4824c460171ac529601d1f5
Author: Greg Hudson <ghudson at mit.edu>
Commit: 0d092a739429610af4824c460171ac529601d1f5
Branch: krb5-1.18
.gitignore | 1 +
src/lib/gssapi/spnego/spnego_mech.c | 1 +
src/tests/gssapi/Makefile.in | 11 +++--
src/tests/gssapi/deps | 2 +
src/tests/gssapi/reload.c | 83 +++++++++++++++++++++++++++++++++++
5 files changed, 94 insertions(+), 4 deletions(-)
More information about the krb5-bugs
mailing list