[openssl-users] TLS leak for openssl 1.1.0b with libcurl 7.50.3

ghanashyam satpathy ghanashyam.satpathy at gmail.com
Sat Mar 25 14:05:06 UTC 2017

I use libcurl 7.50.3 as statically linked in my application dll , along
with openssl 1.1.0b also statically linked. The dll is dynamically loaded
using LoadLibrary() and unloaded using FreeLibrary() inside application
exe. I observed a TLS index is not getting freed which was allocated inside
openssl. To narrow down the issue I have following exported function, which
I call from my application exe. After FreeLibrary() I see the TLS leak
through APplication verifier.

extern "C" __declspec(dllexport)
void CurlSetup()



An early reply in this context is appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170325/12c0ccde/attachment.html>

More information about the openssl-users mailing list