[openssl/openssl] e2758d: Fix occasional assertion failure when storing prop...

Tomáš Mráz noreply at github.com
Tue Nov 29 07:27:57 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: e2758d1a39e07597ac89bdc7c6c507330c8866d5
      https://github.com/openssl/openssl/commit/e2758d1a39e07597ac89bdc7c6c507330c8866d5
  Author: Tomas Mraz <tomas at 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 <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19762)

(cherry picked from commit 92a25e24e6ec9735dea9ec645502cb075a5f8d24)




More information about the openssl-commits mailing list