openssl/crypto/pem
Jiasheng Jiang 2823e2e1d3 crypto/pem/pem_lib.c: Add check for BIO_read
As the potential failure of the BIO_read(),
it should be better to add the check and return
error if fails.
Also, in order to decrease the same code, using
'out_free' will be better.

Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17754)
2022-03-14 09:57:12 +01:00
..
build.info
pem_all.c
pem_err.c
pem_info.c
pem_lib.c crypto/pem/pem_lib.c: Add check for BIO_read 2022-03-14 09:57:12 +01:00
pem_local.h
pem_oth.c
pem_pk8.c Allow empty passphrase in PEM_write_bio_PKCS8PrivateKey_nid() 2022-01-26 17:15:52 +01:00
pem_pkey.c
pem_sign.c
pem_x509.c
pem_xaux.c
pvkfmt.c add checks for the return values of BN_new(), sk_RSA_PRIME_INFO_new_reserve(), 2021-10-27 08:36:55 +10:00