openssl/crypto
JiashengJiang 00c531a5e3 crypto/property/property.c: Free impl->method to avoid memory leak
After ossl_method_up_ref() succeeds, impl_free() should be called to free impl->method.

Fixes: 860ecfd ("property: check return values from the property locking
calls.")
Signed-off-by: JiashengJiang <jiasheng@purdue.edu>

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27564)
2025-05-29 16:39:51 +02:00
..
aes Workaround for issue with assembler on OS X 10.4 2025-05-19 08:59:14 +02:00
aria
asn1 asn_mime.c multi_split(): add missing I/O error checking 2025-05-14 08:43:21 +02:00
async
bf
bio BIO_dump_indent_cb(): Check for negative return from BIO_snprintf() 2025-04-28 17:29:17 +02:00
bn Check NASM version for {vex} prefix support 2025-05-19 16:24:42 +02:00
buffer
camellia Update dead links and e-mails our sources 2025-03-26 15:40:02 +01:00
cast
chacha Fix test failures on big endian ARMv9 target 2025-04-14 15:43:58 +01:00
cmac
cmp OSSL_CMP_MSG_http_perform(): Remove extraneous %s from debug log print 2025-05-27 19:50:41 +02:00
cms Update cms_pwri.c 2025-04-15 15:42:50 +01:00
comp
conf Copyright year updates 2025-03-12 13:35:59 +00:00
crmf Copyright year updates 2025-03-12 13:35:59 +00:00
ct
des
dh
dsa
dso
ec Workaround for issue with assembler on OS X 10.4 2025-05-19 08:59:14 +02:00
encode_decode Copyright year updates 2025-03-12 13:35:59 +00:00
engine Copyright year updates 2025-03-12 13:35:59 +00:00
err crypto/evp: compensate for providers not adding error queue entries for keymgmt, sigver, and asymcipher 2025-05-20 21:19:34 +02:00
ess
evp Note finished state in cipher BIO EOF 2025-05-29 16:02:26 +02:00
ffc
hashtable Copyright year updates 2025-03-12 13:35:59 +00:00
hmac
hpke
http Fix URL parsing to handle missing ports and ISO 8601 timestamps in paths 2025-04-23 11:27:01 +02:00
idea
kdf
lhash
md2
md4
md5 Update dead links and e-mails our sources 2025-03-26 15:40:02 +01:00
mdc2
ml_dsa ml-dsa: add security category support 2025-05-27 18:01:44 +10:00
ml_kem ml-kem: add security category support 2025-05-27 18:01:44 +10:00
modes Update dead links and e-mails our sources 2025-03-26 15:40:02 +01:00
objects Implement AES-CBC-HMAC-SHA512 on aarch64 2025-04-14 14:53:30 +01:00
ocsp Copyright year updates 2025-03-12 13:35:59 +00:00
pem Copyright year updates 2025-03-12 13:35:59 +00:00
perlasm Pick up {vex} in x86_64 assembler translator 2025-05-19 16:24:42 +02:00
pkcs7 crypto/pkcs7/pk7_smime.c: Add BIO_free() to avoid memory leak 2025-05-27 19:49:07 +02:00
pkcs12 Copyright year updates 2025-03-12 13:35:59 +00:00
poly1305 Update dead links and e-mails our sources 2025-03-26 15:40:02 +01:00
property crypto/property/property.c: Free impl->method to avoid memory leak 2025-05-29 16:39:51 +02:00
rand Check rand_meth_lock existence before trying to lock it 2025-05-13 11:38:29 +02:00
rc2
rc4 Update dead links and e-mails our sources 2025-03-26 15:40:02 +01:00
rc5
ripemd
rsa Copyright year updates 2025-03-12 13:35:59 +00:00
seed
sha SHA512/x86_64: Fix SIGSEGV on $avx=0 path 2025-05-09 09:33:37 +10:00
siphash
slh_dsa slh-dsa: add security category support 2025-05-27 18:01:44 +10:00
sm2
sm3 Fix test failures on big endian ARMv9 target 2025-04-14 15:43:58 +01:00
sm4 Fix test failures on big endian ARMv9 target 2025-04-14 15:43:58 +01:00
srp
stack Adds the concept of thunks to OPENSSL_sk interface 2025-03-24 15:28:34 +01:00
store store_result.c: add to error queue which provider failed to load credential and hint on using default provider 2025-05-20 21:19:34 +02:00
thread
ts Fix memory leaks after failure of PKCS7_add_signed_attribute() 2025-05-23 17:36:53 +02:00
txt_db
ui crypto/ui/ui_lib.c: Add OPENSSL_free to avoid memory leaks 2025-04-14 15:17:29 +01:00
whrlpool Update dead links and e-mails our sources 2025-03-26 15:40:02 +01:00
x509 crypto/x509/v3_lib.c: Free tmpext if X509V3_EXT_add() fails to avoid memory leak 2025-05-19 16:18:35 +02:00
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win.c
LPdir_win32.c
LPdir_wince.c
README-sparse_array.md
alphacpuid.pl Remove unused assembly function OPENSSL_wipe_cpu 2025-04-16 08:24:19 +10:00
arm64cpuid.pl
arm_arch.h Enable AES and SHA3 optimisations on Qualcomm Snapdragon X systems 2025-05-07 11:17:48 +10:00
armcap.c Enable AES and SHA3 optimisations on Qualcomm Snapdragon X systems 2025-05-07 11:17:48 +10:00
armv4cpuid.pl Remove unused assembly function OPENSSL_wipe_cpu 2025-04-16 08:24:19 +10:00
asn1_dsa.c
bsearch.c
build.info params: don't build global param name TRIE 2025-05-07 11:47:24 +02:00
c64xpluscpuid.pl Remove unused assembly function OPENSSL_wipe_cpu 2025-04-16 08:24:19 +10:00
comp_methods.c
context.c Copyright year updates 2025-03-12 13:35:59 +00:00
core_algorithm.c
core_fetch.c Copyright year updates 2025-03-12 13:35:59 +00:00
core_namemap.c Copyright year updates 2025-03-12 13:35:59 +00:00
cpt_err.c
cpuid.c
cryptlib.c
ctype.c
cversion.c crypto: fix preprocessor concatenation 2025-03-31 13:58:06 +02:00
defaults.c Fix probing the registry for configuration 2025-03-31 13:58:06 +02:00
der_writer.c
deterministic_nonce.c
dllmain.c Make cpuid_setup non-constructor 2025-04-29 14:19:51 +02:00
ebcdic.c
ex_data.c
getenv.c
ia64cpuid.S Remove unused assembly function OPENSSL_wipe_cpu 2025-04-16 08:24:19 +10:00
indicator_core.c
info.c
init.c Copyright year updates 2025-03-12 13:35:59 +00:00
initthread.c
loongarch64cpuid.pl Copyright year updates 2025-03-12 13:35:59 +00:00
loongarch_arch.h
loongarchcap.c
mem.c
mem_clr.c
mem_sec.c
mips_arch.h
o_dir.c
o_fopen.c
o_init.c
o_str.c
o_time.c
packet.c
param_build.c
param_build_set.c
params.c params: refactor some of the param helper code 2025-04-18 15:23:42 +01:00
params_dup.c
params_from_text.c crypto: disable OSSL_PARAM_REAL on UEFI 2025-04-15 15:27:38 +01:00
pariscid.pl Remove unused assembly function OPENSSL_wipe_cpu 2025-04-16 08:24:19 +10:00
passphrase.c
ppccap.c Make cpuid_setup non-constructor 2025-04-29 14:19:51 +02:00
ppccpuid.pl Remove unused assembly function OPENSSL_wipe_cpu 2025-04-16 08:24:19 +10:00
provider.c Copyright year updates 2025-03-12 13:35:59 +00:00
provider_child.c
provider_conf.c crypto/provider_conf.c: Fix possible memory leak 2025-05-07 11:49:06 +02:00
provider_core.c Fix trace output for provider algorithm names 2025-05-16 10:47:16 +02:00
provider_local.h
provider_predefined.c
punycode.c
quic_vlint.c
rcu_internal.h
riscv32cpuid.pl
riscv64cpuid.pl
riscvcap.c Make cpuid_setup non-constructor 2025-04-29 14:19:51 +02:00
s390x_arch.h
s390xcap.c s390x: Add new machine generation z17 2025-04-23 11:24:41 +02:00
s390xcpuid.pl Make cpuid_setup non-constructor 2025-04-29 14:19:51 +02:00
self_test_core.c
sleep.c
sparccpuid.S Make cpuid_setup non-constructor 2025-04-29 14:19:51 +02:00
sparcv9cap.c
sparse_array.c
ssl_err.c Move ssl_err.c into libcrypto 2025-03-01 14:46:03 -05:00
sslerr.h Move ssl_err.c into libcrypto 2025-03-01 14:46:03 -05:00
threads_lib.c
threads_none.c
threads_pthread.c Assert that we successfully obtained a lock 2025-04-30 10:55:44 +02:00
threads_win.c Do some more cleanup in the RCU code 2025-03-18 18:52:29 +01:00
time.c
trace.c
uid.c
vms_rms.h
x86_64cpuid.pl Make cpuid_setup non-constructor 2025-04-29 14:19:51 +02:00
x86cpuid.pl Make cpuid_setup non-constructor 2025-04-29 14:19:51 +02:00