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