From: | ghudson@mit.edu |
Subject: | git commit |
Using locking in MEMORY krb5_cc_get_principal()
Without locking, the principal pointer could be freed out from under
krb5_copy_principal() by another thread calling krb5_cc_initialize()
or krb5_cc_destroy().
https://github.com/krb5/krb5/commit/1848447291c68e21311f441b0458ae53471d00d3
Author: Greg Hudson <ghudson@mit.edu>
Commit: 1848447291c68e21311f441b0458ae53471d00d3
Branch: master
src/lib/krb5/ccache/cc_memory.c | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)