[7133] in testers

home help back first fref pref prev next nref lref last post

Re: 9.4 ksu: locking problems

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Wed Jun 15 19:18:07 2005

In-Reply-To: <tx1r7f32t5d.fsf@mit.edu>
Mime-Version: 1.0 (Apple Message framework v622)
Content-Type: multipart/mixed; boundary=Apple-Mail-9-983821492
Message-Id: <57f054e52357c749751c099ea358a63a@mit.edu>
From: Ken Raeburn <raeburn@MIT.EDU>
Date: Wed, 15 Jun 2005 19:17:38 -0400
To: testers@mit.edu


--Apple-Mail-9-983821492
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Patch attached.


--Apple-Mail-9-983821492
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="cc_file patch"
Content-Disposition: attachment;
	filename="cc_file patch"

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);

--Apple-Mail-9-983821492--


home help back first fref pref prev next nref lref last post