cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Buffer overrun in dbghook.c on MSVC when application ends

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Feb 2007 22:41:10 +0100 (CET)

On Mon, 12 Feb 2007, Gorg wrote:

> I'm getting strange error "buffer overrun" at the point when application
> closes. Otherwise everything works fine, just at closing application
> suddenly this error even when file transfer without error already finished..
> When I remove curl_easy_setopt and curl_easy_perform , leaving there just
> initialisation, the error doesn't occur.

I would suggest that you build a debug version of libcurl and your app and
then run that with a debugger and investigate the exact point where the buffer
appears.

What exactly says it is a buffer overrun and how can that be detected?

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