[1.7] getaddrinfo failure

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Mar 27 15:37:00 GMT 2009

On Mar 27 14:32, Eric Blake wrote:
> The coreutils testsuite includes a test of getaddrinfo (simplified slightly 
> before attaching here), and it is failing for me on a Windows XP machine (I 
> don't have access to Windows Vista to see if it behaves any better there).  I 
> have not yet built a debugging cygwin1.dll to try to figure out where the 
> EFAULT is resulting from, but it seems like this is probably a bug in cygwin 
> itself, as the testcase looks like it is calling everything with proper 
> pointers.

Fixed in CVS.  My code checked hints' contents without checking if hints
is a NULL pointer.  Incredible that this never happened with any other
application before.

Thanks for the testcase.

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list