Problems with ksu in krb5-1.4.1
Ken Raeburn
raeburn at MIT.EDU
Wed Jun 15 19:03:14 EDT 2005
On Jun 15, 2005, at 18:00, Heilke, Rainer wrote:
> This is on Solaris 8.
>
> I've passed the patch on. Thanks.
That patch was for a thread support problem that I thought might've
been Garrett Wollman's problem.
This patch to src/lib/krb5/ccache/cc_file.c should fix your problem.
It might also fix the problem he ran into, I'm not sure. Please let me
know...
Ken
Index: cc_file.c
===================================================================
RCS file: /cvs/krbdev/krb5/src/lib/krb5/ccache/cc_file.c,v
retrieving revision 5.45
diff -p -u -r5.45 cc_file.c
--- cc_file.c 13 Apr 2005 16:55:40 -0000 5.45
+++ cc_file.c 15 Jun 2005 22:58:03 -0000
@@ -1459,7 +1459,7 @@ static krb5_error_code dereference(krb5_
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);
More information about the Kerberos
mailing list