[krbdev.mit.edu #8890] git commit
Greg Hudson via RT
rt-comment at KRBDEV-PROD-APP-1.mit.edu
Thu Mar 26 00:24:27 EDT 2020
Thu Mar 26 00:24:27 2020: Request 8890 was acted upon.
Transaction: Ticket created by ghudson at mit.edu
Queue: krb5
Subject: git commit
Owner: ghudson at mit.edu
Requestors:
Status: new
Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8890 >
Add finalization safety check to com_err
If the linker erroneously runs the libkrb5 finalizer after the
libcom_err finalizer, the consequent remove_error_table() calls could
crash due to accessing a destroyed mutex or an invalid et_list
pointer. Add an unsynchronized check on finalized in
remove_error_table(), and set et_list to null in com_err_terminate()
after destroying the list.
[ghudson at mit.edu: minimized code hanges; rewrote comment and commit
message]
https://github.com/krb5/krb5/commit/9d654aa05e26bbf22f140abde3436afeff2fdf8d
Author: Jiri Sasek <Jiri.Sasek at Oracle.COM>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 9d654aa05e26bbf22f140abde3436afeff2fdf8d
Branch: master
src/util/et/error_message.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
More information about the krb5-bugs
mailing list