Fix error handling in x509v3_cache_extensions and related functions
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 4 Jan 2020 14:54:53 +0000 (15:54 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 22 Mar 2020 22:08:56 +0000 (23:08 +0100)
commitba4356ae4002a04e28642da60c551877eea804f7
tree7e50b2144c2e54b77f8e9bb3814fc92f97047ee1
parent673692b8d62c8014b70c609caf69a251608303a9
Fix error handling in x509v3_cache_extensions and related functions

Basically we use EXFLAG_INVALID for all kinds of out of memory and
all kinds of parse errors in x509v3_cache_extensions.

[extended tests]

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10756)
apps/rehash.c
crypto/pkcs12/p12_crt.c
crypto/ts/ts_rsp_sign.c
crypto/ts/ts_rsp_verify.c
crypto/x509/x509_cmp.c
crypto/x509/x509_trs.c
crypto/x509/x509_vfy.c
crypto/x509/x_all.c
crypto/x509/x_crl.c
crypto/x509v3/v3_purp.c
doc/man3/X509_get_extension_flags.pod