This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gethostbyname2 seg.faults with "multi on" and IPv6


Thorsten Kukuk wrote:

> The fix is to reserve the space for one more pointer:

The problematic code is correctly identified, but the patch isn't right.
 There are more problems in this code.  I guess that on platforms with
strict alignment requirements this code will even crash often enough.

The computation of the alignment for the pointer arrays simlpy isn't
correct.  I'll look at all this tonight.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]