cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: out of memory error while posting form data

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 29 Jul 2008 14:20:56 -0700

On Mon, Jul 28, 2008 at 09:28:19PM -0700, deva seetharam wrote:
> hello all,
> i am using libcurl version 7.18.2 on a 64-bit debian with an application that posts a data file using http post to a *https* url. when i post the data, i get the following error:
>
> * SSL certificate verify result: self signed certificate (18), continuing anyway.
> * failed creating formpost data
> * Connection #0 to host [host name] left intact
> * Out of memory
> * Re-using existing connection! (#0) with host [host name]
> * Connected to [host name] (ip address) port 443 (#0)
>
> (interestingly, the same application works fine on a 32-bit linux kernel fine with libcurl version 7.15.5.)
>
> pls. let me know how this error could be resolved.

Can you show us your code? It sounds like it might be due to a 64 bit length
value being written to by a 32 bit one, causing the uninitialized high
32 bits cause it to read very large.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-07-29