diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-07 17:51:25 +0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-03-14 09:57:12 +0100 |
commit | 2823e2e1d39479a7835d176862ec15e47a1bdecd (patch) | |
tree | 41e4b1aa06f612d18b7c0b96386b6c8f8407ac59 /util | |
parent | ad083f9b0ab81d094c2dbb8f5e2a5fb7738a0bfe (diff) |
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)
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions