From owner-cvs-libexec Tue Oct 22 14:12:07 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA03364 for cvs-libexec-outgoing; Tue, 22 Oct 1996 14:12:07 -0700 (PDT) Received: (from scrappy@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA03301; Tue, 22 Oct 1996 14:11:52 -0700 (PDT) Date: Tue, 22 Oct 1996 14:11:52 -0700 (PDT) From: "Marc G. Fournier" Message-Id: <199610222111.OAA03301@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/rshd rshd.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk scrappy 96/10/22 14:11:52 Modified: libexec/rshd rshd.c Log: Fixes: When an rsh is denied by rshd because the client is lacking appropriate .rhosts permission, an error message is formatted for syslog which contains the client's hostname. The hostname portion of the message relies on a pointer to a field within gethostbyname()'s internal struct hostent which changes state between when the pointer is initialized and when it is dereferenced to create th e message. Submitted by: skynyrd@opus.cts.cwu.edu Revision Changes Path 1.9 +2 -2 src/libexec/rshd/rshd.c