This is the mail archive of the cygwin mailing list for the Cygwin 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: [1.7] getaddrinfo failure


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

-- 
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/


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