[openssl/openssl] db5bb6: Avoid reusing the init_lock for a different purpose

Tomas Mraz noreply at reply.github.openssl.org
Wed Jun 15 07:46:42 UTC 2022

  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: db5bb6b14c62d321583fd44794886cd3701661f4
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M crypto/init.c

  Log Message:
  Avoid reusing the init_lock for a different purpose

Otherwise we might cause a recursive locking.

Fixes #18535

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18545)

(cherry picked from commit e9a806b2c265da3a4ca472acb4a4286d9c1b5c9d)

More information about the openssl-commits mailing list