cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Crash and race condition with using libcurl with openssl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 4 Mar 2012 22:43:07 +0100 (CET)

On Mon, 27 Feb 2012, Anurag Shukla wrote:

> When i ran this under Intel Parallel Studio to check for race conditions
> ,it gave a lot of race conditions in ssluse.c
>
> View Source
>
> BIO *bio_out = BIO_new(BIO_s_mem());
>
> ssl_seeded = TRUE;
>
> Any idea what am i doing wrong?

Isn't because of that global variable? I don't see how that creates a race
condition though so please tell us what you learn.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-04