[Bug nss/20483] incorrect double-checked locking in __nss_database_lookup

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Thu Aug 18 08:35:00 GMT 2016


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.


More information about the Glibc-bugs mailing list