This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/661] New: getgrouplist memory corruption
- From: "kukuk at suse dot de" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 14 Jan 2005 13:21:57 -0000
- Subject: [Bug libc/661] New: getgrouplist memory corruption
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
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.