This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: most buggy function in glibc 8)
- To: misiek at serek dot arch dot pwr dot wroc dot pl
- Subject: Re: most buggy function in glibc 8)
- From: Philip Blundell <pb at labs dot futuretv dot com>
- Date: Tue, 11 Jan 2000 17:16:51 +0000
- cc: libc-alpha at sourceware dot cygnus dot com
- References: <20000111175219.A20360@serek.arch.pwr.wroc.pl>
>now with nscd running:
Please try without nscd.
>So for me seems that memcpy() doesn't copy proper data:
>memcpy (&sinp->sin_addr, at2->addr, sizeof (struct in_addr));
That seems unlikely.
>Moreover resolving "test.misiek.eu.org" works fine in
>for example host-all.c but not in my postfix ;-(
It's hard to offer much help unless you can generate a self-contained testcase
for the bug. I don't want to patch and install Postfix just to debug
getaddrinfo.
If you can capture the arguments that Postfix passes to getaddrinfo using GDB,
it should be possible to write another program that behaves the same.
p.