From owner-cvs-src@FreeBSD.ORG Thu Jun 14 20:07:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0CC516A46B; Thu, 14 Jun 2007 20:07:36 +0000 (UTC) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 794D613C487; Thu, 14 Jun 2007 20:07:36 +0000 (UTC) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5EK7aKx087034; Thu, 14 Jun 2007 20:07:36 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5EK7aOI087032; Thu, 14 Jun 2007 20:07:36 GMT (envelope-from harti) Message-Id: <200706142007.l5EK7aOI087032@repoman.freebsd.org> From: Hartmut Brandt Date: Thu, 14 Jun 2007 20:07:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/rpc auth_unix.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 20:07:36 -0000 harti 2007-06-14 20:07:36 UTC FreeBSD src repository Modified files: lib/libc/rpc auth_unix.c Log: Use an array of size NGROUP_MAX for the getgroups() call instead of NGRP. When NGROUP_MAX is larger than NGRP the call used to fail. Now the call succeedes, but only the first NGRP groups are actually used for authentication. Revision Changes Path 1.18 +4 -2 src/lib/libc/rpc/auth_unix.c