diff options
author | Neil Horman <nhorman@openssl.org> | 2024-01-02 15:48:00 -0500 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2024-01-05 13:20:34 -0500 |
commit | bac7e687d71b124b09ad6ad3e15be9b38c08a1ba (patch) | |
tree | fe15c63538aac466ddc1fbfaef32244ee4112b02 /test/invalid-x509.cnf | |
parent | b062a3c552bf283319dede3437598f1747730053 (diff) |
Validate config options during x509 extension creation
There are several points during x509 extension creation which rely on
configuration options which may have been incorrectly parsed due to
invalid settings. Preform a value check for null in those locations to
avoid various crashes/undefined behaviors
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23183)
Diffstat (limited to 'test/invalid-x509.cnf')
-rw-r--r-- | test/invalid-x509.cnf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/invalid-x509.cnf b/test/invalid-x509.cnf new file mode 100644 index 0000000000..f982edb979 --- /dev/null +++ b/test/invalid-x509.cnf @@ -0,0 +1,6 @@ +[ext] +issuerSignTool = signTool +sbgp-autonomousSysNum = AS +issuingDistributionPoint = fullname +sbgp-ipAddrBlock = IPv4-SAFI + |