Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 1995 01:55:37 -0800
From:      David Greenman <davidg@Root.COM>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        scott@zorch.sf-bay.org (Scott Hazen Mueller), bugs@FreeBSD.org
Subject:   Re: bug in libc 
Message-ID:  <199503190955.BAA00566@corbin.Root.COM>
In-Reply-To: Your message of "Sun, 19 Mar 95 10:12:05 %2B0100." <199503190912.KAA08151@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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.

   That's what he changed it to. He did the diff backwards.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503190955.BAA00566>