cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Crash using WRITEDATA callback depending on CUSTOMREQUEST sent!

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 17 Mar 2007 10:49:52 +0100 (CET)

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.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-17