summaryrefslogtreecommitdiffstats
path: root/test/d2i-tests
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2016-03-30 22:37:05 +0200
committerEmilia Kasper <emilia@openssl.org>2016-04-04 13:26:06 +0200
commit1400f013e10c8ec624947d9187bebb20274385dc (patch)
treeb8006f9b9202c9e4d9d54b73f2e78a75cad5511a /test/d2i-tests
parentRemoved no-ops for the old locking API (diff)
downloadopenssl-1400f013e10c8ec624947d9187bebb20274385dc.tar.xz
openssl-1400f013e10c8ec624947d9187bebb20274385dc.zip
Fix memory leaks in ASN.1
These leaks affect 1.1.0 dev branch only; introduced around commit f93ad22f6adb00e722c130e792799467f3927b56 Found with LibFuzzer Reviewed-by: Ben Laurie <ben@openssl.org>
Diffstat (limited to 'test/d2i-tests')
-rw-r--r--test/d2i-tests/bad_cert.derbin0 -> 1007 bytes
-rw-r--r--test/d2i-tests/bad_generalname.der1
2 files changed, 1 insertions, 0 deletions
diff --git a/test/d2i-tests/bad_cert.der b/test/d2i-tests/bad_cert.der
new file mode 100644
index 0000000000..f75efad398
--- /dev/null
+++ b/test/d2i-tests/bad_cert.der
Binary files differ
diff --git a/test/d2i-tests/bad_generalname.der b/test/d2i-tests/bad_generalname.der
new file mode 100644
index 0000000000..af45855c52
--- /dev/null
+++ b/test/d2i-tests/bad_generalname.der
@@ -0,0 +1 @@
+0;!;)''!l(,:(*;::**;i)*w*);U:'):;l*!'ң \ No newline at end of file