diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-01-17 17:45:42 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-02-07 17:05:10 +0100 |
commit | 7880536fe17c2b5450e279155bedd51771d28c9f (patch) | |
tree | 870d0214cc69256c19486ae6a66105cec22a0ee5 /test | |
parent | adf77d6657e836fc87391fad53d857927a764297 (diff) | |
download | openssl-new-7880536fe17c2b5450e279155bedd51771d28c9f.tar.gz |
Fix GENERAL_NAME_cmp for x400Address (master)
CVE-2023-0286
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 } }; |