This is the mail archive of the glibc-bugs@sources.redhat.com 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 nis/334] New: innetgr is not reentrant when referencing nis and nisplus


innetgr is not reentrant when referencing nis and nisplus netgroups.  nis and
nisplus implement singletons, and innetgr does not provide locking around the
calls to set, get, and end.  Thus, when multiple threads concurrently call
innetgr, they may get different results.

Reading the 2.3.3 source code suggests the bug is currently present as there is
no obvious locking.  The bug can be driven in 2.2.4 by calling getpwuid_r.

-- 
           Summary: innetgr is not reentrant when referencing nis and
                    nisplus
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nis
        AssignedTo: kukuk at suse dot de
        ReportedBy: charles dot simmons at oracle dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=334

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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