cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Implications?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Sep 2006 23:02:08 +0200 (CEST)

On Mon, 11 Sep 2006, Michael Wallner wrote:

> Source attached.

BTW, a small note on the test code that might not be significant for anything:

When you call curl_multi_remove_handle() on an easy handle on line 125, it
will free() the data you previously got a pointer to when you called
curl_multi_info_read() on line 120, so the following curl_easy_cleanup() on
line 126 gets a pointer passed in that is stored in already-freed memory.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-09-11