[openssl/openssl] 8e5918: Fix duplicate mutex allocation in threads_win.c

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


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



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