From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3339c4a4f4c59e1e,start X-Google-Attributes: gid111c93,public From: raphael@cs.uky.edu Subject: C library bug for long lines in /etc/group Date: 1997/12/25 Message-ID: <883066024.1325137923@dejanews.com>#1/1 X-Deja-AN: 310116547 To: raphael@cs.uky.edu X-Http-User-Agent: Mozilla/4.03 [en] (X11; U; SunOS 5.5.1 sun4m) X-Originating-IP-Addr: 128.163.154.11 (herkimer.cs.engr.uky.edu) Organization: Deja News Posting Service X-Authenticated-Sender: raphael@cs.uky.edu X-Article-Creation-Date: Thu Dec 25 16:07:05 1997 GMT Reply-To: raphael@cs.uky.edu Newsgroups: comp.os.linux.alpha 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 problem does not appear to exist in Linux 2.0.30 (Slackware) for Intel. We generate /etc/group automatically, and we have several groups to which almost all our users belong. As a workaround, we are limiting the number of users listed in any group. -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet