Subject: Re: misc/2668: login-names >8 chars make no fun
To: matthew green <mrg@eterna.com.au>
From: Greg A. Woods <woods@kuma.web.net>
List: current-users
Date: 08/23/1996 13:45:36
[ On Fri, August 16, 1996 at 11:58:18 (+1000), matthew green wrote: ]
> Subject: Re: misc/2668: login-names >8 chars make no fun 
>
> i don't think it's unlikely to always work.  the utmp has a very
> defined format.  there are almost always nuls in the `right' places
> where you would expect them (at the end of the char array fields).

????

Since when?

ut_name, ut_line, and ut_host are defined to exact non-nul terminated
lengths in all utmp.h's I've ever seen, including NetBSD's.

-- 
							Greg A. Woods

+1 416 443-1734			VE3TCP			robohack!woods
Planix, Inc. <woods@planix.com>; Secrets Of The Weird <woods@weird.com>