[krbdev.mit.edu #3498] git commit
Tom Yu via RT
rt-comment at krbdev.mit.edu
Thu Sep 18 16:46:10 EDT 2014
Work around replay cache creation race
If two processes try to initialize the same replay cache at the same
time, krb5_rc_io_creat can race between unlink and open, leading to a
KRB5_RC_IO_PERM error. When this happens, make the losing process
retry so that it can continue.
This does not solve the replay cache creation race, nor is that the
only replay cache race issue. It simply prevents the race from
causing a spurious failure.
(cherry picked from commit c61e8c0c6ad5fda8d23dd896c4aed0ac5b470020)
https://github.com/krb5/krb5/commit/99e08376c14240e2141c6fa9289fafab8245c754
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 99e08376c14240e2141c6fa9289fafab8245c754
Branch: krb5-1.13
src/lib/krb5/rcache/rc_io.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
More information about the krb5-bugs
mailing list