public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nis/5378] New: nss_compat: Crash on initgroups() NSS query failure
@ 2007-11-21  3:18 pasky at suse dot cz
  2007-11-21  3:18 ` [Bug nis/5378] " pasky at suse dot cz
  2007-11-23  2:38 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: pasky at suse dot cz @ 2007-11-21  3:18 UTC (permalink / raw)
  To: glibc-bugs

In nss_compat's getgrent_next_nss(), when the initial NSS query on initgroups()
succeeds but the subsequent nss_getgrgid_r() query fails, the data buffer is
left with garbage which subsequently makes check_and_add_group() crash. This can
occur e.g. with nss_ldap when the server goes down in the middle of a massive
volume of requests (e.g. in nscd).

-- 
           Summary: nss_compat: Crash on initgroups() NSS query failure
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nis
        AssignedTo: kukuk at suse dot de
        ReportedBy: pasky at suse dot cz
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5378

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nis/5378] nss_compat: Crash on initgroups() NSS query failure
  2007-11-21  3:18 [Bug nis/5378] New: nss_compat: Crash on initgroups() NSS query failure pasky at suse dot cz
@ 2007-11-21  3:18 ` pasky at suse dot cz
  2007-11-23  2:38 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pasky at suse dot cz @ 2007-11-21  3:18 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2007-11-21 03:18 -------
Created an attachment (id=2101)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2101&action=view)
Proposed patch


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5378

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nis/5378] nss_compat: Crash on initgroups() NSS query failure
  2007-11-21  3:18 [Bug nis/5378] New: nss_compat: Crash on initgroups() NSS query failure pasky at suse dot cz
  2007-11-21  3:18 ` [Bug nis/5378] " pasky at suse dot cz
@ 2007-11-23  2:38 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2007-11-23  2:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-11-23 02:37 -------
The patch is quite correct.  I've checked in a modified version.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5378

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-23  2:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-21  3:18 [Bug nis/5378] New: nss_compat: Crash on initgroups() NSS query failure pasky at suse dot cz
2007-11-21  3:18 ` [Bug nis/5378] " pasky at suse dot cz
2007-11-23  2:38 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).