[openssl/openssl] 0d96d0: Add locking to CRYPTO_secure_used

Neil Horman noreply at github.com
Fri Dec 1 14:44:05 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 0d96d00f1f42b1fc67d963602466e1bbf37900a3
      https://github.com/openssl/openssl/commit/0d96d00f1f42b1fc67d963602466e1bbf37900a3
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2023-12-01 (Fri, 01 Dec 2023)

  Changed paths:
    M crypto/mem_sec.c

  Log Message:
  -----------
  Add locking to CRYPTO_secure_used

Coverity issue 1551719 noted CRYPTO_secure_used referenced a shared
variable without taking the appropriate read lock.  Add that.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/22802)

(cherry picked from commit 7eae6ee0e503b0961d4f2e75baac981f2766b892)




More information about the openssl-commits mailing list