cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: PATCH: Fix for crash in c-ares

From: Ravi Pratap <Ravi.Pratap_at_hillcrestlabs.com>
Date: Fri, 25 May 2007 17:22:40 -0400

> From: curl-library-bounces_at_cool.haxx.se
> [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of
> Daniel Stenberg
> Sent: Friday, May 25, 2007 5:13 PM
> To: libcurl development
> Subject: RE: PATCH: Fix for crash in c-ares
>
> 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.

Ah, I didn't know that. Will do that in the future.

Thanks,

Ravi.
Received on 2007-05-25