Hi, On Tue, Nov 28, 2006 at 09:55:14PM +0100, Matthias Andree wrote: > Clemens Buchacher <[EMAIL PROTECTED]> writes: > > The appended change fixes the problem for me. > ...and is evidence that the libc used is broken: res is supposed to > contain garbage because getaddrinfo() wasn't successful and res wasn't > initialized.
I see. If there is a connection, the request succeeds: [EMAIL PROTECTED]:~/tmp$ ./gaitest success, trying to free stuff. This is what I get, when no nameservers are available: [EMAIL PROTECTED]:~/tmp$ ./gaitest ; echo $? gai error: Temporary failure in name resolution ai is: 0xdeadbeef attempting to free ai... caught sigsegv, aborting! 1 ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries Regards, Clemens -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

