]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Add X.509v3 parsing example with invalid BasicConstraints
authorJouni Malinen <j@w1.fi>
Sat, 22 Jun 2019 15:15:22 +0000 (18:15 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 22 Jun 2019 15:15:22 +0000 (18:15 +0300)
This is a regression test based on an input data from OSS-Fuzz.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/fuzzing/x509/corpus/oss-fuzz-15408 [new file with mode: 0644]

diff --git a/tests/fuzzing/x509/corpus/oss-fuzz-15408 b/tests/fuzzing/x509/corpus/oss-fuzz-15408
new file mode 100644 (file)
index 0000000..a6f74c5
--- /dev/null
@@ -0,0 +1 @@
+0\82\ 1\990\82\ 1\95  \ 2\ 1\ 2\ 2          0\r\ 6               0/1\v0        \ 6\ 3    \80  1 0\f\ 6\ 3    \ 5                       0\1e\17\r 3 6 91  1 2Z\17\r 3 6 7 6 1 2Z0/1\v0        \ 6\ 3    \ 2  1 0\f\ 6\ 3    \ 5                       0\81\9f0\r\ 6                  \ 3                                      ÿ                                                                      ÿ                   ÿ             £P0N0\1d\ 6\ 3   \ 4\ e                      0\1d\ 6\ 3   \ 4\ e                      0\ e\ 6\ 3U\1d\13\ 4\a0\ 3!\ 1 ÿ 
\ No newline at end of file