summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2022-02-12 19:27:09 +0800
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2022-02-20 13:04:24 +0100
commitd43597c718dd6e4f2b18d5cec1eb791503a18988 (patch)
treeb27594611cc902092fad74eae20d6a4d3980b321 /crypto
parent78c5f1266fdd859df04b0ce89e4dd849d9b590d7 (diff)
fuzz/asn1.c: Add missing check for BIO_new
Since the BIO_new may fail, the 'bio' could be NULL pointer and be used. Therefore, it should be better to check it and skip the print if fails. Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/17690)
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions