[openssl/openssl] c91c76: Add locking to CRYPTO_secure_used

Neil Horman noreply at github.com
Fri Dec 1 14:47:06 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: c91c762e8ae18f7738b7331137183eb2539d4da2
      https://github.com/openssl/openssl/commit/c91c762e8ae18f7738b7331137183eb2539d4da2
  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