public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nis/3411] New: innetgr() crash when nsswitch.conf contains netgroup: nisplus
@ 2006-10-23  6:05 cat at vv dot carleton dot ca
  2006-10-23  7:11 ` [Bug nis/3411] " jakub at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: cat at vv dot carleton dot ca @ 2006-10-23  6:05 UTC (permalink / raw)
  To: glibc-bugs

When innetgr() is called with ("group", NULL, "user", NULL), the program
segfaults because of a strdup(NULL).

See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208718.

-- 
           Summary: innetgr() crash when nsswitch.conf contains netgroup:
                    nisplus
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nis
        AssignedTo: kukuk at suse dot de
        ReportedBy: cat at vv dot carleton dot ca
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux


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

------- 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] 2+ messages in thread

* [Bug nis/3411] innetgr() crash when nsswitch.conf contains netgroup: nisplus
  2006-10-23  6:05 [Bug nis/3411] New: innetgr() crash when nsswitch.conf contains netgroup: nisplus cat at vv dot carleton dot ca
@ 2006-10-23  7:11 ` jakub at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: jakub at redhat dot com @ 2006-10-23  7:11 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2006-10-23 07:10 -------
This is already fixed on glibc trunk:
2006-10-10  Ulrich Drepper  <drepper@redhat.com>

        * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH
        components which lack them.

        * nis/nis_subr.c (nis_getnames): Make sure that we always return
        at least one entry consisting of the parameter concatenated with
        the domain.
and is planned soon for glibc-2_5-branch.

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


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

------- 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] 2+ messages in thread

end of thread, other threads:[~2006-10-23  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-23  6:05 [Bug nis/3411] New: innetgr() crash when nsswitch.conf contains netgroup: nisplus cat at vv dot carleton dot ca
2006-10-23  7:11 ` [Bug nis/3411] " jakub 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).