[openssl/openssl] 6637d7: Fix duplicate mutex allocation in threads_win.c

Neil Horman noreply at github.com
Thu Apr 11 18:03:00 UTC 2024


  Branch: refs/heads/openssl-3.3
  Home:   https://github.com/openssl/openssl
  Commit: 6637d7dfad51eb593eb0ba4ecce2adbac6ebcbec
      https://github.com/openssl/openssl/commit/6637d7dfad51eb593eb0ba4ecce2adbac6ebcbec
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M crypto/threads_win.c

  Log Message:
  -----------
  Fix duplicate mutex allocation in threads_win.c

Creating an rcu lock does a double allocation of the underlying mutex.
Not sure how asan didn't catch this, but we clearly have a duplicate
line here

Fixes #24085

Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Kurt Roeckx <kurt at roeckx.be>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24086)

(cherry picked from commit 8e5918fb8eb90289a0c89f6a4c6d623ecf49cf43)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list