krb5 commit: Fix kdc_free_lookaside() krb5_context usage

Greg Hudson ghudson at MIT.EDU
Mon Jul 2 14:36:16 EDT 2012


https://github.com/krb5/krb5/commit/1f7dc74d1f9691b86b6258aa82657eda746558d1
commit 1f7dc74d1f9691b86b6258aa82657eda746558d1
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon Jul 2 14:36:05 2012 -0400

    Fix kdc_free_lookaside() krb5_context usage
    
    Use the provided krb5_context, not kdc_context, which isn't valid when
    kdc_free_lookaside() is called.

 src/kdc/replay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/kdc/replay.c b/src/kdc/replay.c
index 16fbbff..2df9cc6 100644
--- a/src/kdc/replay.c
+++ b/src/kdc/replay.c
@@ -232,7 +232,7 @@ kdc_free_lookaside(krb5_context kcontext)
     struct entry *e, *next;
 
     TAILQ_FOREACH_SAFE(e, &expiration_queue, expire_links, next) {
-        discard_entry(kdc_context, e);
+        discard_entry(kcontext, e);
     }
 }
 


More information about the cvs-krb5 mailing list