Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 1995 15:39:29 -0800
From:      Scott Hazen Mueller <scott@zorch.sf-bay.org>
To:        bugs@FreeBSD.org
Subject:   bug in libc
Message-ID:  <199503172339.PAA09324@zorch.sf-bay.org>

next in thread | raw e-mail | index | archive | help
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);
  	} else {
  		aup.aup_len = (u_int)len;
--- 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);
  	} else {
  		aup.aup_len = (u_int)len;




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