* init_ctx.c (krb5_init_context): Oops. Initialize kt_default_name
authorTom Yu <tlyu@mit.edu>
Wed, 13 Nov 1996 03:48:52 +0000 (03:48 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 13 Nov 1996 03:48:52 +0000 (03:48 +0000)
  to NULL.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9398 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/init_ctx.c

index e24d782fcb24778dfd9e85fbeb0302cc05a99928..a45b8a98587d4c70ffccd1050fabd79746758280 100644 (file)
@@ -1,5 +1,8 @@
 Tue Nov 12 22:07:33 1996  Tom Yu  <tlyu@mit.edu>
 
+       * init_ctx.c (krb5_init_context): Oops. Initialize kt_default_name
+       to NULL.
+       
        * init_ctx.c (krb5_free_context): Free kt_default_name if it's
        non-NULL.
 
index e3ed8fe0e0154a469a3866aeb14bdc7533f61a98..d84d59d0718752b2d2c8a9ac5c08eaa99c58c2a9 100644 (file)
@@ -68,6 +68,7 @@ krb5_init_context(context)
                goto cleanup;
 
        ctx->default_realm = 0;
+       ctx->kt_default_name = 0;
        profile_get_integer(ctx->profile, "libdefaults", "clockskew",
                            0, 5 * 60, &tmp);
        ctx->clockskew = tmp;