Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: lindahl@pbm.com (Greg Lindahl)
Subject: Re: C library bug for long lines in /etc/group
Date: 1998/01/03	[thread overview]
Message-ID: <68k9vl$m11@news2.zippo.com> (raw)
In-Reply-To: 883066024.1325137923@dejanews.com


raphael@cs.uky.edu writes:

> In Linux 2.0.32 for a Dec Alpha (RedHat), lines longer than 500
> characters in /etc/group cause programs that refer to such lines
> via the C library to enter an infinite loop.  For example, ls -l
> of a file with an invalid group number looks at every line in
> /etc/group, including the long ones.

This is a common Unix bug -- NIS v1 had a limit at 1024 characters, I
think. The fix there is to split the group into several lines with the
same GID.

-- g



      reply	other threads:[~1998-01-03  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-25  5:00 C library bug for long lines in /etc/group raphael
1998-01-03  5:00 ` Greg Lindahl [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox