cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Crash with curl_easy_duphandle() and ares

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 29 Apr 2004 09:22:07 +0200 (CEST)

On Wed, 28 Apr 2004, James Bursa wrote:

> I'm getting a crash when I use curl_easy_duphandle() with a libcurl
> configured to use ares. This is on Linux, but I think that a crash I'm
> getting on RISC OS is the same problem.

Right, the curl_easy_duphandle() code obviously doesn't create a new ares
"handle" and instead uses a NULL pointer. I'll make a fix and write up a test
case for this soon.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-29