In krb5_rc_dfl_recover, krb5_rc_io_size was being called with
authorTheodore Tso <tytso@mit.edu>
Fri, 30 Sep 1994 02:12:46 +0000 (02:12 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 30 Sep 1994 02:12:46 +0000 (02:12 +0000)
completely bogus arguments.   It's amazing it worked at all...

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

src/lib/krb5/rcache/ChangeLog
src/lib/krb5/rcache/rc_dfl.c

index 107692c56b318c5070b4012112605cc36526489d..8a091e5f5cb274ec5d3bb07871ba2703187acc0e 100644 (file)
@@ -1,3 +1,9 @@
+Thu Sep 29 22:11:20 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * rc_dfl.c (krb5_rc_dfl_recover): krb5_rc_io_size was being called
+               with the wrong type argument.  I have no idea how it was
+
+
 Thu Sep  8 23:34:53 1994  Theodore Y. Ts'o  (tytso@pinata)
 
        * rc_io.c: The variables dirlen and dir were declared global, and
index b9ebb91472d5263b6521e2362b873337dab464fe..bdb60ba31de837650218a555537e928e81cc9e4d 100644 (file)
@@ -381,7 +381,7 @@ krb5_rcache id;
     if (retval = krb5_rc_io_open(&t->d,t->name))
        return retval;
  
-    max_size = krb5_rc_io_size(t);
+    max_size = krb5_rc_io_size(t->d);
  
     rep = NULL;
     if (krb5_rc_io_read(&t->d,(krb5_pointer) &t->lifespan,sizeof(t->lifespan))) {