From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32264 invoked by alias); 23 Apr 2006 19:47:25 -0000 Received: (qmail 32251 invoked by uid 48); 23 Apr 2006 19:47:23 -0000 Date: Sun, 23 Apr 2006 19:47:00 -0000 Message-ID: <20060423194723.32250.qmail@sourceware.org> From: "drepper at redhat dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20051202172121.1970.burnus@gmx.de> References: <20051202172121.1970.burnus@gmx.de> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/1970] getgrnam_r() and groups with more than 1024 bytes X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00244.txt.bz2 List-Id: ------- 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.