cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: core dump on curl_easy_cleanup (AIX)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 1 Nov 2004 11:07:50 +0100 (CET)

On Fri, 29 Oct 2004, Sachin Mahajan wrote:

> I am getting a core dump on curl_easy cleanup when using the latest
> version of libcurl on aix.
> Following is the code:
>
> chunk.memory=NULL; /* we expect realloc(NULL, size) to work */

So, does AIX really allow realloc() on NULL? I found some web pages on the net
suggesting otherwise. Can you verify this?

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