sshd doesn't log hostname into utmp correctly [resend]

Kevin Steves kevin at atomicgears.com
Wed Aug 21 01:20:20 EST 2002


On Wed, Aug 21, 2002 at 12:05:45AM +0900, Hajimu UMEMOTO wrote:
> Ah yes, FreeBSD has some hack to store utmp entry by calling
> realhostname_sa().  Sorry for my lacking of consideration around
> FreeBSD hack.
> In anyway, it is a potential problem that record_login() copies addr
> just sizeof(struct sockaddr) regardless of actual size.  Please
> consider to fix it by applying my previous patch.

yes i agree, we should add your fix.  thanks again.



More information about the openssh-unix-dev mailing list