[openssl/openssl] 7eae6e: Add locking to CRYPTO_secure_used

Neil Horman noreply at github.com
Fri Dec 1 14:38:07 UTC 2023


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




More information about the openssl-commits mailing list