This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nss/20483] incorrect double-checked locking in __nss_database_lookup
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 18 Aug 2016 08:35:00 +0000
- Subject: [Bug nss/20483] incorrect double-checked locking in __nss_database_lookup
- Auto-submitted: auto-generated
- References: <bug-20483-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20483
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|network |nss
Flags| |security-
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
I expect the correct fix is to remove the outer check and call
__nss_database_lookup unconditionally. We can then implement correct
double-checked locking within __nss_database_lookup, as a future optimization.
I assume this is difficult to hit in practice (due to the limited number of
chances per process), so I'm flagging this as security-.
--
You are receiving this mail because:
You are on the CC list for the bug.