[PATCH] Fix crash when getaddrinfo crashes on windows

Joe Orton joe at manyfish.co.uk
Sun Sep 21 16:25:07 EDT 2014


On Thu, Jun 26, 2014 at 11:51:33AM +0200, Olivier Goffart wrote:
> Apparently, the Windows implementation of getaddrinfo can leave something in 
> the result of getaddrinfo while still reporting a failure.
> I checked the glibc implementation of getaddrinfo, and this implementation is 
> safe: the result is never set in case of error.  But other implementations may 
> fail while leaving a dangling pointer in the result:

Thanks for the patch Olivier - applied.

Regards, Joe



More information about the neon mailing list