curl-library
RE: PATCH: Fix for crash in c-ares
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 25 May 2007 23:12:36 +0200 (CEST)
Date: Fri, 25 May 2007 23:12:36 +0200 (CEST)
On Thu, 24 May 2007, Ravi Pratap wrote:
> Here's an updated patch.
>
> The problem was that in the Windows codepath, status was left as -1 on exit,
> causing ares_strerror to segfault on accessing an array index of -1. This
> fixes the problem the right way, IMHO.
Thanks, applied. Please consider using the c-ares mailing list for strictly
c-ares related stuff in the future (there are in fact other projects using
c-ares...) as not all c-ares hackers hang out on this list.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-05-25