diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2020-09-20 18:22:32 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2020-09-20 18:22:32 +0000 |
commit | 55b779c748471b779ea2289553325152c97b89bd (patch) | |
tree | c82f248c4b170fce23271608cbfaff950d3f5392 /regress/lib/libcrypto/x509 | |
parent | 0a2d3e028a742a1729bbe04192ec858ee2bdfd59 (diff) |
Correct a 1 byte read overflow in x509_contraints_uri and add
regress to catch it in the future.
found by Guido Vranken's cryptofuzzer
ok tb@
Diffstat (limited to 'regress/lib/libcrypto/x509')
-rw-r--r-- | regress/lib/libcrypto/x509/constraints.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/lib/libcrypto/x509/constraints.c b/regress/lib/libcrypto/x509/constraints.c index 86ed8faf14f..6e76f081138 100644 --- a/regress/lib/libcrypto/x509/constraints.c +++ b/regress/lib/libcrypto/x509/constraints.c @@ -152,6 +152,10 @@ unsigned char *invaliduri[] = { "https://.www.openbsd.org/", "https://www.ope|nbsd.org%", "https://www.openbsd.org.#", + "///", + "//", + "/", + "", NULL, }; |