Fix memory leaks in ASN.1
authorEmilia Kasper <emilia@openssl.org>
Wed, 30 Mar 2016 20:37:05 +0000 (22:37 +0200)
committerEmilia Kasper <emilia@openssl.org>
Mon, 4 Apr 2016 11:26:06 +0000 (13:26 +0200)
commit1400f013e10c8ec624947d9187bebb20274385dc
treeb8006f9b9202c9e4d9d54b73f2e78a75cad5511a
parentb5851bbc43dcf497189d16395dfa925d1562ee06
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>
crypto/asn1/tasn_dec.c
test/Makefile.in
test/build.info
test/d2i-tests/bad_cert.der [new file with mode: 0644]
test/d2i-tests/bad_generalname.der [new file with mode: 0644]
test/d2i_test.c [new file with mode: 0644]
test/recipes/25-test_d2i.t [new file with mode: 0644]