mirror of
https://github.com/openssl/openssl.git
synced 2025-03-01 19:28:10 +08:00
Fixes #19975 for CMS_decrypt_set1_pkey_and_peer() in the obvious way, and a related potential crash in CMS_decrypt_set1_password(). The point is that the input might have an unexpected content type, so a guard is needed at both places after `ec` is obtained. Note that in CMS_decrypt_set1_pkey_and_peer() there was no such ec != NULL guard for ``` if (ris != NULL) debug = ec->debug; ``` maybe because it is implied here by ris != NULL. Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19981) |
||
---|---|---|
.. | ||
aes | ||
aria | ||
asn1 | ||
async | ||
bf | ||
bio | ||
bn | ||
buffer | ||
camellia | ||
cast | ||
chacha | ||
cmac | ||
cmp | ||
cms | ||
comp | ||
conf | ||
crmf | ||
ct | ||
des | ||
dh | ||
dsa | ||
dso | ||
ec | ||
encode_decode | ||
engine | ||
err | ||
ess | ||
evp | ||
ffc | ||
hmac | ||
hpke | ||
http | ||
idea | ||
kdf | ||
lhash | ||
md2 | ||
md4 | ||
md5 | ||
mdc2 | ||
modes | ||
objects | ||
ocsp | ||
pem | ||
perlasm | ||
pkcs7 | ||
pkcs12 | ||
poly1305 | ||
property | ||
rand | ||
rc2 | ||
rc4 | ||
rc5 | ||
ripemd | ||
rsa | ||
seed | ||
sha | ||
siphash | ||
sm2 | ||
sm3 | ||
sm4 | ||
srp | ||
stack | ||
store | ||
thread | ||
ts | ||
txt_db | ||
ui | ||
whrlpool | ||
x509 | ||
alphacpuid.pl | ||
arm64cpuid.pl | ||
arm_arch.h | ||
armcap.c | ||
armv4cpuid.pl | ||
asn1_dsa.c | ||
bsearch.c | ||
build.info | ||
c64xpluscpuid.pl | ||
context.c | ||
core_algorithm.c | ||
core_fetch.c | ||
core_namemap.c | ||
cpt_err.c | ||
cpuid.c | ||
cryptlib.c | ||
ctype.c | ||
cversion.c | ||
der_writer.c | ||
deterministic_nonce.c | ||
dllmain.c | ||
ebcdic.c | ||
ex_data.c | ||
getenv.c | ||
ia64cpuid.S | ||
info.c | ||
init.c | ||
initthread.c | ||
loongarch64cpuid.pl | ||
loongarch_arch.h | ||
loongarchcap.c | ||
LPdir_nyi.c | ||
LPdir_unix.c | ||
LPdir_vms.c | ||
LPdir_win32.c | ||
LPdir_win.c | ||
LPdir_wince.c | ||
mem_clr.c | ||
mem_sec.c | ||
mem.c | ||
mips_arch.h | ||
o_dir.c | ||
o_fopen.c | ||
o_init.c | ||
o_str.c | ||
o_time.c | ||
packet.c | ||
param_build_set.c | ||
param_build.c | ||
params_dup.c | ||
params_from_text.c | ||
params.c | ||
pariscid.pl | ||
passphrase.c | ||
ppccap.c | ||
ppccpuid.pl | ||
provider_child.c | ||
provider_conf.c | ||
provider_core.c | ||
provider_local.h | ||
provider_predefined.c | ||
provider.c | ||
punycode.c | ||
quic_vlint.c | ||
README-sparse_array.md | ||
riscv32cpuid.pl | ||
riscv64cpuid.pl | ||
riscvcap.c | ||
s390x_arch.h | ||
s390xcap.c | ||
s390xcpuid.pl | ||
self_test_core.c | ||
sleep.c | ||
sparccpuid.S | ||
sparcv9cap.c | ||
sparse_array.c | ||
threads_lib.c | ||
threads_none.c | ||
threads_pthread.c | ||
threads_win.c | ||
time.c | ||
trace.c | ||
uid.c | ||
vms_rms.h | ||
x86_64cpuid.pl | ||
x86cpuid.pl |