This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6980] New: Over-zealous getgroups_chk() overflow check
- From: "pasky at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 24 Oct 2008 11:56:18 -0000
- Subject: [Bug libc/6980] New: Over-zealous getgroups_chk() overflow check
- Reply-to: sourceware-bugzilla at sourceware dot org
The getgroups_chk() overflow check incorrectly triggers in case negative size is
passed to getgroups(), instead of the call returning EINVAL. This is because
size is multiplied by sizeof() which is unsigned int.
--
Summary: Over-zealous getgroups_chk() overflow check
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: pasky at suse dot cz
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6980
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.