[openssl] master update

Dr. Paul Dale pauli at openssl.org
Sat Nov 23 21:32:53 UTC 2019


The branch master has been updated
       via  0c080f73e8fc3cf7e73a42b15011d8a0a0c8aab7 (commit)
      from  6834df12d1aaaefbb20154ee1e013514d3c57dda (commit)


- Log -----------------------------------------------------------------
commit 0c080f73e8fc3cf7e73a42b15011d8a0a0c8aab7
Author: Matus Kysel <mkysel at tachyum.com>
Date:   Fri Nov 22 10:44:02 2019 +0100

    Remove deadlock that was caused by calling pthread_rwlock_wrlock() on same thread twice. This can be reproduce only with musl.
    
    CLA: trivial
    
    Signed-off-by: Matus Kysel <mkysel at tachyum.com>
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/10501)

-----------------------------------------------------------------------

Summary of changes:
 crypto/ex_data.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/ex_data.c b/crypto/ex_data.c
index 9f08606d2f..58614b68a3 100644
--- a/crypto/ex_data.c
+++ b/crypto/ex_data.c
@@ -108,7 +108,7 @@ static int dummy_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
 
 int crypto_free_ex_index_ex(OPENSSL_CTX *ctx, int class_index, int idx)
 {
-    EX_CALLBACKS *ip = get_and_lock(ctx, class_index);
+    EX_CALLBACKS *ip;
     EX_CALLBACK *a;
     int toret = 0;
     OSSL_EX_DATA_GLOBAL *global = openssl_ctx_get_ex_data_global(ctx);


More information about the openssl-commits mailing list