From alc@nonpc.cs.rice.edu  Thu Jan 18 19:39:23 1996
Received: from nonpc.cs.rice.edu (nonpc.cs.rice.edu [128.42.1.219])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA29489
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 Jan 1996 19:39:22 -0800 (PST)
Received: (from alc@localhost) by nonpc.cs.rice.edu (8.7.3/8.7.3) id VAA00924; Thu, 18 Jan 1996 21:39:21 -0600 (CST)
Message-Id: <199601190339.VAA00924@nonpc.cs.rice.edu>
Date: Thu, 18 Jan 1996 21:39:21 -0600 (CST)
From: Alan Cox <alc@cs.rice.edu>
Reply-To: alc@cs.rice.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: rlogind dumps core if hosts.equiv contains a netgroup
X-Send-Pr-Version: 3.2

>Number:         952
>Category:       bin
>Synopsis:       rlogind dumps core if hosts.equiv contains a netgroup
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 18 19:40:05 PST 1996
>Closed-Date:    Mon Jan 29 12:45:26 PST 1996
>Last-Modified:  Mon Jan 29 12:48:11 PST 1996
>Originator:     Alan Cox
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Computer Science Department
Rice University
>Environment:

	

>Description:

Unless the file /etc/netgroup exists, rlogind dumps core
if /etc/hosts.equiv contains a "+@netgroup".  (I didn't
check whether an empty /etc/netgroup file suffices to prevent
the core dump.  If the file exists and contains "+", everything
works as expected.)

	

>How-To-Repeat:

Delete the /etc/netgroup file from your machine and attempt to rlogin
to it from another machine.

	

>Fix:

Install an /etc/netgroup file containing "+".

	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Mon Jan 29 12:45:26 PST 1996 
State-Changed-Why:  
Fixed in rev 1.31 of libc/gen/getpwent.c and rev 1.3 of libc/net/getservent.c 
>Unformatted:
Alan Cox
