[3761] in Kerberos-V5-bugs
[krbdev.mit.edu #1312] profile locking at wrong level when re-reading file
daemon@ATHENA.MIT.EDU (Ken Raeburn via RT)
Mon Jan 13 17:13:11 2003
Message-Id: <rt-1312-3899.3.18106703175488@krbdev.mit.edu>
In-Reply-To: <rt-1312@krbdev.mit.edu>
From: "Ken Raeburn via RT" <rt-comment@krbdev.mit.edu>
Reply-To: rt-comment@krbdev.mit.edu
To: krb5-prs@mit.edu
Errors-To: krb5-bugs-admin@mit.edu
Date: Mon, 13 Jan 2003 17:12:26 -0500 (EST)
With the profile-sharing code enabled, the mutex protects the linked
list of prf_data_t objects and their refcounts. However, once one of
these objects has been acquired for a profile instance, it's used
without locking. Mostly it's read-only access, but if the on-disk file
has changed, the tree of nodes will be freed and rebuilt, with no mutex
protection.
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
http://mailman.mit.edu/mailman/listinfo/krb5-bugs