Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 18e72cbefec5410d360f5c64b51243e12bd60bae
      
https://github.com/openssl/openssl/commit/18e72cbefec5410d360f5c64b51243e12bd60bae
  Author: Tomas Mraz <to...@openssl.org>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M crypto/property/defn_cache.c
    M crypto/property/property.c
    M crypto/property/property_local.h
    M test/property_test.c

  Log Message:
  -----------
  Fix occasional assertion failure when storing properties

Fixes #18631

The store lock does not prevent concurrent access to the
property cache, because there are multiple stores.

We drop the newly created entry and use the exisiting one
if there is one already.

Reviewed-by: Matt Caswell <m...@openssl.org>
Reviewed-by: Paul Dale <pa...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19762)

(cherry picked from commit 92a25e24e6ec9735dea9ec645502cb075a5f8d24)


Reply via email to