diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-01-17 17:45:42 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-02-03 12:38:44 +0100 |
commit | 2f7530077e0ef79d98718138716bc51ca0cad658 (patch) | |
tree | c88b0142f68e15721877f51c2c74b8aac9581122 /test | |
parent | 7e37185582995b35f885fec9dcc3670af9ffcbef (diff) |
CVE-2023-0286: Fix GENERAL_NAME_cmp for x400Address (3.0)
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/v3nametest.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/v3nametest.c b/test/v3nametest.c index 6d2e2f8e27..0341995dde 100644 --- a/test/v3nametest.c +++ b/test/v3nametest.c @@ -644,6 +644,14 @@ static struct gennamedata { 0xb7, 0x09, 0x02, 0x02 }, 15 + }, { + /* + * Regression test for CVE-2023-0286. + */ + { + 0xa3, 0x00 + }, + 2 } }; |