This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1970] getgrnam_r() and groups with more than 1024 bytes
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Apr 2006 19:47:23 -0000
- Subject: [Bug libc/1970] getgrnam_r() and groups with more than 1024 bytes
- References: <20051202172121.1970.burnus@gmx.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2006-04-23 19:47 -------
There are at least two bugs in the program which have to make it crash:
- the test whether getgrnam_r returns something must be
if(result == NULL && res == 0) {
and not
if(&result == NULL && res == 0) {
&result is always != NULL
- you cannot call delete on 'result'. Only on 'buffer'.
I'm closing this bug. Reopen only after you can demonstrate with a C program
that there is indeed a problem. In this case you also have to provide a
description of the setup.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=1970
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.