]> git.ipfire.org Git - thirdparty/openssl.git/commit
Check the return value of ossl_bio_new_from_core_bio()
authorx2018 <xkernel.wang@foxmail.com>
Mon, 29 Nov 2021 09:09:36 +0000 (17:09 +0800)
committerTomas Mraz <tomas@openssl.org>
Mon, 3 Jan 2022 11:00:01 +0000 (12:00 +0100)
commit352a0bcaab8eda18cce786d2871e8d4ec6f9cbfe
tree9d9d4e9c3c0a97c9db0804f7b3033b49127e8808
parent5bea0e2ee9bda4d9be6e88c79f2c1b411bb65351
Check the return value of ossl_bio_new_from_core_bio()

There are missing checks of its return value in 8 different spots.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17154)
providers/implementations/encode_decode/decode_epki2pki.c
providers/implementations/encode_decode/decode_msblob2key.c
providers/implementations/encode_decode/decode_pem2der.c
providers/implementations/encode_decode/decode_pvk2key.c
providers/implementations/encode_decode/encode_key2blob.c
providers/implementations/encode_decode/encode_key2ms.c
providers/implementations/encode_decode/endecoder_common.c