Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: fed8dbea27b7e01ee934951b25c6ffd40ad1d5c3
https://github.openssl.org/openssl/openssl/commit/fed8dbea27b7e01ee934951b25c6ffd40ad1d5c3
Author: Matt Caswell <[email protected]>
Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths:
M crypto/property/property.c
Log Message:
-----------
Fix a memory leak in ossl_method_store_add()
If the call to ossl_prop_defn_set() fails then the OSSL_PROPERTY_LIST
we just created will leak.
Found as a result of:
https://github.com/openssl/openssl/pull/18355#issuecomment-1139499881
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Todd Short <[email protected]>
Reviewed-by: Hugo Landau <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/18458)
Commit: 5f4b3db624a83b812f23412e698ffd9c4284f87a
https://github.openssl.org/openssl/openssl/commit/5f4b3db624a83b812f23412e698ffd9c4284f87a
Author: Matt Caswell <[email protected]>
Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths:
M crypto/property/defn_cache.c
Log Message:
-----------
Assert that a property definition cache entry is the first
When adding a property definition cache entry for a given property query
string we add an assert that we are not replacing an existing entry. If we
are then that indicates a bug in the caller.
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Todd Short <[email protected]>
Reviewed-by: Hugo Landau <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/18458)
Compare:
https://github.openssl.org/openssl/openssl/compare/9cef2a70b151...5f4b3db624a8