Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix data race setting default_DSO_meth #16972

Closed

Commits on Nov 5, 2021

  1. Fix data race setting default_DSO_meth

    The global variable `default_DSO_meth` was potentially set multiple times by
    different threads.  It turns out that it could only be set to a single value
    so the race is harmless but still better avoided.  The fix here simply removes
    the global and accesses the value it was set to via the `DSO_METHOD_openssl()`
    call.
    
    Problem discovered via openssl#16970, but this does not resolve that issue because
    there are other concerns.
    paulidale committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    9ef8b6a View commit details
    Browse the repository at this point in the history