Fix the error handling in i2v_AUTHORITY_KEYID
authorMatt Caswell <matt@openssl.org>
Fri, 20 Aug 2021 14:23:32 +0000 (15:23 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Aug 2021 12:19:04 +0000 (13:19 +0100)
commit8c74c9d1ade0fbdab5b815ddb747351b8b839641
tree6768ad413886683497354404b71752d7e9a9c483
parentd9bfd68295146b6afad288ef4145aeb5eb0e6c66
Fix the error handling in i2v_AUTHORITY_KEYID

Previously if an error path is entered a leak could result.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
crypto/x509v3/v3_akey.c
fuzz/corpora/x509/0bf7ea6564ba1096f9760bbd6ed02f25aa0d583c [new file with mode: 0644]