[943] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

appl/bsd patches

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Fri Nov 4 16:21:08 1994

From: epeisach@MIT.EDU
Date: Fri, 4 Nov 1994 16:21:01 -0500
To: krb5-bugs@MIT.EDU, probe@MIT.EDU


Re: the BITS64 stuff... 

Replace the declaration of long net_len with krb5_ui_4 net_len and
remove the BITS crap... That way sizeof(net_len) is still 4. The
only issue that might cause problems with this is a cray... What does
htonl expect?

Personally, I prefer htonl so that on half the architectures, the easy
thing happens...

On the axp, htonl expects an unsigned int which is what is being
supplied. DECstations expect u_long.... - but wordsize,h deals with
this.

Also, krlogin.c - the sa.sa_flags should be set to SA_RESTART for the
SIGURG handler. The out-of-band data comes in while waiting on a read.
Without SA_RESTART set, the read is not restarted... This
causes problems on on the AXP with encryption when the data is lost and
things get out of sync....

home help back first fref pref prev next nref lref last post