public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/661] New: getgrouplist memory corruption
@ 2005-01-14 13:22 kukuk at suse dot de
  2005-01-14 13:23 ` [Bug libc/661] " kukuk at suse dot de
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kukuk at suse dot de @ 2005-01-14 13:22 UTC (permalink / raw)
  To: glibc-bugs

If you call getgrouplist with ngroups=0 as argument to find out, how 
big the buffer needs to be, it will corrupt the stack. The problem is, 
that internal_getgrouplist will always add the main group at first, 
without checking for enough space.

-- 
           Summary: getgrouplist memory corruption
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: kukuk at suse dot de
                CC: glibc-bugs at sources dot redhat dot com


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

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

end of thread, other threads:[~2006-08-03 15:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-14 13:22 [Bug libc/661] New: getgrouplist memory corruption kukuk at suse dot de
2005-01-14 13:23 ` [Bug libc/661] " kukuk at suse dot de
2005-03-29 23:40 ` cvs-commit at gcc dot gnu dot org
2005-03-29 23:40 ` cvs-commit at gcc dot gnu dot org
2005-03-29 23:41 ` roland at gnu dot org
2006-08-03 15:25 ` cvs-commit at gcc dot gnu dot org

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).