Subject: Re: strange w(1) output ?
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 07/14/2004 16:07:54
In article <20040714155623.GA63113@gateway.pointless.nl>,
Peter Postma <peter@pointless.nl> wrote:
>-=-=-=-=-=-
>
>On Tue, Jul 06, 2004 at 11:23:19AM +0900, enami tsugutomo wrote:
>> login(1) exec'ed by rlogind(8) can't record sockaddr since stdin isn't
>> a socket.  sshd(8) truncates the addr up to sizoef(sockaddr).
>> 
>
>Ok, thanks for explaining this.
>
>So why don't we fix sshd(8)? (see attachment). Are there any reasons
>for not applying this patch?

I think I fixed this differently already. I used the length to determine
the amount of space to be copied.

christos