cache name was not being properly null-terminated
authorTheodore Tso <tytso@mit.edu>
Thu, 29 Sep 1994 21:04:42 +0000 (21:04 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 29 Sep 1994 21:04:42 +0000 (21:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4385 dc483132-0cff-0310-8789-dd5450dbe970

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

index 023a2a0191a532ff92c86b8327a1582b2920d3b4..c9a2ce0978582560b7de172c1659b5ccb4e34f02 100644 (file)
@@ -1,5 +1,8 @@
 Thu Sep 29 15:31:10 1994  Theodore Y. Ts'o  (tytso@dcl)
 
+       * srv_rcache.c (krb5_get_server_rcache): cachename was not being
+               properly null-terminated.
+
        * get_in_tkt.c (krb5_get_in_tkt): Return KRB5_IN_TKT_REALM_MISATCH
                if the client and server realms don't match.  Return
                KRB5_KDCREP_SKEW if the KDC reply has an unacceptible
index 86e2a2b3b7af1c16d0017d57d6040da460e6c049..f6206df229b349563651a02c38c1191b09147856 100644 (file)
@@ -78,6 +78,7 @@ krb5_rcache *rcptr;
        }
        cachename[p++] = piece->data[i];
     }
+    cachename[p++] = '\0';
 
     if (retval = krb5_rc_resolve(rcache, cachename))
        goto cleanup;