cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: core dump on curl_easy_cleanup (AIX)

From: Sachin Mahajan <sachin.k.mahajan_at_gmail.com>
Date: Mon, 1 Nov 2004 17:17:40 -0700

I think you are right. Is there any alternative? This happens when I
try to upload large pdf files(not more then 600k though). Is there any
workaround for the cleanup(realloc)
Thanks,
-Sachin

On Mon, 1 Nov 2004 11:07:50 +0100 (CET), Daniel Stenberg
<daniel-curl_at_haxx.se> wrote:
> 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-02