Check for V_ASN1_BOOLEAN/V_ASN1_NULL in X509_ATTRIBUTE_get0_data
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 1 Jul 2019 07:41:47 +0000 (09:41 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 2 Jul 2019 14:25:00 +0000 (16:25 +0200)
commit42180a229e97b0bcbbe07aeadb3dcb7dc31cfdc4
treef5c36b96b47c5aca66014cfb5e70e45745d072bd
parent261ec72d58af64327214a78ca1c54b169ad93c28
Check for V_ASN1_BOOLEAN/V_ASN1_NULL in X509_ATTRIBUTE_get0_data

The member value.ptr is undefined for those ASN1 types.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9278)

(cherry picked from commit 94f4d58a87eac9c6fe4cb46b998656bd6d6f03a5)
crypto/x509/x509_att.c