Bug 872 - rlogind dumps core
Summary: rlogind dumps core
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 2.1.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-12-07 14:10 UTC by simonm
Modified: 1995-12-09 19:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simonm 1995-12-07 14:10:00 UTC
Attempting to rlogin from one of the machines in cshosts1 yields:
protocol error, solander closed connection.

The following message appears in the log:
Dec  7 13:55:23 solander /kernel: pid 8026: rlogind: uid 0: exited on signal 11

Fix: 

not known.
How-To-Repeat: 
Set up configuration files as above.  Attempt to rlogin from a host in
cshosts1 (any host?).
Comment 1 Bill Paul freebsd_committer freebsd_triage 1995-12-09 19:12:24 UTC
State Changed
From-To: open->closed

This bug has been fixed with the last revision of getnetgrent.c. The 
problem is that the code will try to fclose /etc/netgroup without actually 
having fopened it in the case where /etc/netgroup doesn't exist. 
(fclose(NULL) ==> SIGSEGV) 

There is a simple workaround which is to create an /etc/netgroup file 
that is empty (touch /etc/netgroup) or that has only a single plus 
sign ('+') in it.