mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
Test that X509_issuer_and_serial_hash doesn't crash
Provide a certificate with a bad issuer and check that X509_issuer_and_serial_hash doesn't crash. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
This commit is contained in:
parent
8130d654d1
commit
55869f594f
BIN
fuzz/corpora/x509/f5ded9e25448f6f47349d012eda2eb4fccbc7c76
Normal file
BIN
fuzz/corpora/x509/f5ded9e25448f6f47349d012eda2eb4fccbc7c76
Normal file
Binary file not shown.
@ -37,6 +37,8 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len)
|
||||
X509_print(bio, x509);
|
||||
BIO_free(bio);
|
||||
|
||||
X509_issuer_and_serial_hash(x509);
|
||||
|
||||
i2d_X509(x509, &der);
|
||||
OPENSSL_free(der);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user