cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Crash using WRITEDATA callback depending on CUSTOMREQUEST sent!

From: Arnaud Maye <amaye_at_hispeed-sr.ch>
Date: Sat, 17 Mar 2007 14:21:04 +0200

Daniel Stenberg wrote:
> On Fri, 16 Mar 2007, Arnaud Maye wrote:
>
>>>> strcat_s(gData, 600, data);
>
>> And gData is memset(,0,) during the init as well
>
> That doesn't help much since the problem is that 'data' here isn't
> zero terminated which this function call (strcat_s()) assumes.
>
I totally agree with you, no worries..

But it crash before to enter the function as explained several times.
Even empty call back just returning size, crash.

With an "empty" call back just returning size, breakpoint placed on the
return; line, it crash never reach breakpoint.

But anyway, as I need only ftp features, I switched to ftplibpp, as am
running a lack of time actually.

I don't know what the problem is to be honest, and I don't have time to
investigate more unfortunately.

Kind regards

Arnaud
Received on 2007-03-17

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET