summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-23 13:07:47 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-23 13:13:04 +0100
commit97843b161612203ee0a768f445737a614bfee8d5 (patch)
tree8308653ea7b8ec955bc2b75a5ac027b82d31c4dc
parentd362ee0f59d37d74a5e302f666e4916d558a2d15 (diff)
downloadgnutls-97843b161612203ee0a768f445737a614bfee8d5.tar.gz
tests: added client reproducer for memory leak
That reproduces a memory leak detected in the client code path. Detected using oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=676 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/client-interesting/client3.rawbin0 -> 822 bytes
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 05f6c52226..1d2e81e245 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -42,7 +42,8 @@ EXTRA_DIST = suppressions.valgrind eagain-common.h cert-common.h test-chains.h \
certs-interesting/cert3.der.err certs-interesting/cert4.der pkcs7-interesting/pkcs7-1.der \
pkcs7-interesting/pkcs7-1.der.err pkcs7-interesting/pkcs7-2.der pkcs7-interesting/pkcs7-2.der.err \
client-interesting/client1.raw client-interesting/client2.raw client-interesting/client3.disabled \
- server-interesting/server1.raw scripts/common.sh scripts/starttls-common.sh
+ server-interesting/server1.raw scripts/common.sh scripts/starttls-common.sh \
+ client-interesting/client3.raw
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
AM_CPPFLAGS = \
diff --git a/tests/client-interesting/client3.raw b/tests/client-interesting/client3.raw
new file mode 100644
index 0000000000..1eba177de9
--- /dev/null
+++ b/tests/client-interesting/client3.raw
Binary files differ