[krbdev.mit.edu #9014] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Jun 28 16:44:36 EDT 2021


Mon Jun 28 16:44:36 2021: Request 9014 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=9014 >



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 at mit.edu>
Commit: 1848447291c68e21311f441b0458ae53471d00d3
Branch: master
 src/lib/krb5/ccache/cc_memory.c |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)



More information about the krb5-bugs mailing list