Date: Sun, 19 Mar 1995 10:12:05 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: scott@zorch.sf-bay.org (Scott Hazen Mueller) Cc: bugs@FreeBSD.org Subject: Re: bug in libc Message-ID: <199503190912.KAA08151@uriah.heep.sax.de> In-Reply-To: <199503172339.PAA09324@zorch.sf-bay.org> from "Scott Hazen Mueller" at Mar 17, 95 03:39:29 pm
index | next in thread | previous in thread | raw e-mail
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. ;-)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503190912.KAA08151>
