From owner-cvs-src@FreeBSD.ORG Thu Nov 17 12:19:25 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A232316A425; Thu, 17 Nov 2005 12:19:25 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F059343D72; Thu, 17 Nov 2005 12:19:19 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jAHCJJTj079768; Thu, 17 Nov 2005 12:19:19 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jAHCJJw6079767; Thu, 17 Nov 2005 12:19:19 GMT (envelope-from harti) Message-Id: <200511171219.jAHCJJw6079767@repoman.freebsd.org> From: Hartmut Brandt Date: Thu, 17 Nov 2005 12:19:19 +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/usr.sbin/rpc.lockd kern.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, 17 Nov 2005 12:19:25 -0000 harti 2005-11-17 12:19:19 UTC FreeBSD src repository Modified files: usr.sbin/rpc.lockd kern.c Log: When a user is in more than 16 groups the call to authunix_create() will result in abort() beeing called. This is because there is a limit of the number of groups in the RPC which is 16. When the actual number of groups is too large it results in xdr_array() returning an error which, in turn, authunix_create() handles by just calling abort(). Fix this by passing only the first 16 groups to authunix_create(). Revision Changes Path 1.17 +6 -1 src/usr.sbin/rpc.lockd/kern.c