[krbdev.mit.edu #6308] Alignment problem in resolver test

Tom Yu via RT rt-comment at krbdev.mit.edu
Tue Dec 30 14:42:29 EST 2008


"Ezra Peisach via RT" <rt-comment at krbdev.mit.edu> writes:

> As I indicated in my initial analysis - there is one other place 
> gethostbyaddr is used w/o a struct in_addr - but the memory is 
> malloced.   I am correct that malloc will return an alignment that is 
> compatible w/ any structure - right?

It's defined to return memory with an alignment suitable for any
object.




More information about the krb5-bugs mailing list