This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]