This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gethostbyname2 seg.faults with "multi on" and IPv6
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Thorsten Kukuk <kukuk at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 11 Feb 2003 21:07:25 -0800
- Subject: Re: gethostbyname2 seg.faults with "multi on" and IPv6
- Organization: Red Hat, Inc.
- References: <20030211064010.GA7660@suse.de> <20030211142705.GA30840@suse.de>
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 `---------------------------