Subject: sun-lamp CVS commits
To: None <source-changes@NetBSD.ORG>
From: The Source Master <srcmastr@NetBSD.ORG>
List: source-changes
Date: 01/20/1995 10:50:01
christos
Fri Jan 20 13:48:52 EST 1995
Update of /b/source/CVS/src/libexec/rshd
In directory sun-lamp.cs.berkeley.edu:/c/users/christos/slash/src/libexec/rshd
Modified Files:
rshd.c
Log Message:
Fix:
Save hostname in a permanent buffer, otherwise ruserok()
can trash it if it calls gethostbyname() or inet_ntoa().
Repeat by:
Add entries in .rhosts and login from a machine that does
not have an entry there. Notice that the error message
in syslog contains the last hostname in .rhosts and not
the original remote hostname.