SCO patch attempt.

Markus Friedl Markus.Friedl at informatik.uni-erlangen.de
Mon Jan 15 19:19:24 EST 2001


On Sat, Jan 13, 2001 at 03:42:26PM -0600, mouring at etoh.eviladmin.org wrote:
> > wouldn't it be simpler to
> > 	typedef u_int32_t u_int64_t;
> > and check whether the first 4 bytes are != 0 ?
> > 
> I started going down that path originally, but I could not see a 
> reasonable way of doing error checking.  Hmm.. Unless I report errors on
> on 'errno' (Because it's pretty hard to return -1 on an unsigned int =).
> 
> I'll take another look at that method in a day or so.

before you call get_uint64() you could check that
the next for bytes in the current packet are equal to zero.

-markus





More information about the openssh-unix-dev mailing list