From owner-freebsd-bugs Mon Jul 27 13:41:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03717 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 13:41:48 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03642 for ; Mon, 27 Jul 1998 13:41:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA19899; Mon, 27 Jul 1998 13:40:02 -0700 (PDT) Date: Mon, 27 Jul 1998 13:40:02 -0700 (PDT) Message-Id: <199807272040.NAA19899@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Jacques Vidrine Subject: Re: bin/2859: /usr/bin/quota seems to choke on long group file entries Reply-To: Jacques Vidrine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/2859; it has been noted by GNATS. From: Jacques Vidrine To: freebsd-gnats-submit@freebsd.org, chip@jlc.net Cc: Subject: Re: bin/2859: /usr/bin/quota seems to choke on long group file entries Date: Mon, 27 Jul 1998 15:39:00 -0500 This is actually a limitation of getgroups() et.al. The maximum line length is limited to 1024 characters in libc/gen/getgrent.c. A workaround might be to change the definition of MAXLINELENGTH in libc/gen/getgrent.c and recompile libc. This is fixed in -CURRENT, revision 1.14 of getgrent.c by using dynamically allocated buffers rather than a static buffer. The resulting implementation can handle line lengths of up to 256 Kbytes. -- Jacques Vidrine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message