From owner-freebsd-bugs Sun Mar 19 01:52:07 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA00866 for bugs-outgoing; Sun, 19 Mar 1995 01:52:07 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id BAA00838 for ; Sun, 19 Mar 1995 01:51:45 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA27258; Sun, 19 Mar 1995 10:23:12 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id KAA15156; Sun, 19 Mar 1995 10:23:11 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id KAA08151; Sun, 19 Mar 1995 10:12:05 +0100 From: J Wunsch Message-Id: <199503190912.KAA08151@uriah.heep.sax.de> Subject: Re: bug in libc To: scott@zorch.sf-bay.org (Scott Hazen Mueller) Date: Sun, 19 Mar 1995 10:12:05 +0100 (MET) Cc: bugs@FreeBSD.org In-Reply-To: <199503172339.PAA09324@zorch.sf-bay.org> from "Scott Hazen Mueller" at Mar 17, 95 03:39:29 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 795 Sender: bugs-owner@FreeBSD.org Precedence: bulk As Scott Hazen Mueller wrote: > > rpc/auth_unix.c > > sense of test for authunix_maxgrouplist being changed is backwards. > > *** auth_unix.c Fri Mar 17 14:44:56 1995 > --- auth_unix.c.orig Fri Mar 17 14:44:30 1995 > *************** > *** 149,155 **** > aup.aup_gid = gid; > /* GW: continuation of max group list hack */ > if(authunix_maxgrouplist != 0) { > ! aup.aup_len = ((len < authunix_maxgrouplist) ? len > : authunix_maxgrouplist); What's wrong here? If the actual lenght is *less* than the maximum, the actual value will be used, otherwise the length will be limited to the maximum. Seems to be reasonable to me. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)