summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-03 15:53:27 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-05 09:02:12 +0100
commit0fd339fde9c8bd3aff23338ba104b0663c78f28b (patch)
tree4637e4b4261f44f6ef31d4eb4347d34db241d44b
parent1c3965eda74d79079af0f6494225a3c786890ed6 (diff)
downloadgnutls-0fd339fde9c8bd3aff23338ba104b0663c78f28b.tar.gz
tests: added test case with invalid X.509 cert
This triggers a memory leak. Issue found using oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=294 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/certs-interesting/cert8.derbin0 -> 1114 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 793e7e7e49..eab4a16f23 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -36,7 +36,7 @@ EXTRA_DIST = suppressions.valgrind eagain-common.h cert-common.h test-chains.h \
certs-interesting/README.md certs-interesting/cert1.der certs-interesting/cert1.der.err \
certs-interesting/cert2.der certs-interesting/cert2.der.err certs-interesting/cert3.der \
certs-interesting/cert3.der.err certs-interesting/cert4.der certs-interesting/cert5.der \
- certs-interesting/cert6.der certs-interesting/cert7.der
+ certs-interesting/cert6.der certs-interesting/cert7.der certs-interesting/cert8.der
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
AM_CPPFLAGS = \
diff --git a/tests/certs-interesting/cert8.der b/tests/certs-interesting/cert8.der
new file mode 100644
index 0000000000..9180256ba2
--- /dev/null
+++ b/tests/certs-interesting/cert8.der
Binary files differ