cURL / Mailing Lists / curl-library / Single Mail


Re: curl library bug

From: Dan Fandrich <>
Date: Wed, 23 Jun 2010 10:55:32 -0700

On Wed, Jun 23, 2010 at 02:08:39AM -0800, Viktor Molnar wrote:
> I have been trying this example:
> and it's working fine.
> But, when I made a few changes (num of threads and URL), it's
> generated an 'segmentation fault'.

What address causes the fault? There are a number of places in the
code you sent where error codes are not being checked, and where
an error could easily cause a segfault. The two big ones are
curl_easy_init() and curl_global_init().

>>> Dan
List admin:
Received on 2010-06-23