ticket: 3098
version_fixed: 1.4.2
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@17308
dc483132-0cff-0310-8789-
dd5450dbe970
+2005-06-15 Ken Raeburn <raeburn@mit.edu>
+
+ * cc_file.c (dereference): Fix test is list-walking loop.
+
2005-01-13 Ken Raeburn <raeburn@mit.edu>
* cc_file.c (struct _krb5_fcc_data): Fields disk_file_lock,
kerr = k5_mutex_lock(&krb5int_cc_file_mutex);
if (kerr)
return kerr;
- for (fccsp = &fccs; *fccsp == NULL; fccsp = &(*fccsp)->next)
+ for (fccsp = &fccs; *fccsp != NULL; fccsp = &(*fccsp)->next)
if ((*fccsp)->data == data)
break;
assert(*fccsp != NULL);
+ assert((*fccsp)->data == data);
(*fccsp)->refcount--;
if ((*fccsp)->refcount == 0) {
struct fcc_set *temp;