This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nis/334] New: innetgr is not reentrant when referencing nis and nisplus
- From: "charles dot simmons at oracle dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Aug 2004 20:47:22 -0000
- Subject: [Bug nis/334] New: innetgr is not reentrant when referencing nis and nisplus
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
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.