[krbdev.mit.edu #3141] Incorrect type of saddr_len causes error in 64 bit environment

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Fri Jun 16 23:23:51 EDT 2006


> While testing kerberos client in 64 bit environment, kdcd was failing to
> come up. On investigation, it was found that the recvfrom()  called in 
> 64 bit  environment was able to receive the  data but not able to get
> the address structure filled from which the data is received because the
>  saddr_len pointer is a 64 bit pointer in 64 bit environment but the api
> expects a 32 bit pointer.

Is this because we synthesize an incorrect definition for socklen_t, or
does the 64-bit environment not conform to the SUSv2 and POSIX 2004?

Ken



More information about the krb5-bugs mailing list