You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2016/10/18 23:37:53 UTC

[trafficserver] branch master updated: TS-4985: Memory leak in test_X509HostnameValidator

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  f1ed9f3   TS-4985: Memory leak in test_X509HostnameValidator
f1ed9f3 is described below

commit f1ed9f3db0be93db5a61651470f08925ab40ce4b
Author: Bryan Call <bc...@apache.org>
AuthorDate: Tue Oct 18 15:03:31 2016 -0700

    TS-4985: Memory leak in test_X509HostnameValidator
---
 lib/ts/Makefile.am     | 2 ++
 lib/ts/suppression.txt | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/lib/ts/Makefile.am b/lib/ts/Makefile.am
index 092eda7..01ac7d8 100644
--- a/lib/ts/Makefile.am
+++ b/lib/ts/Makefile.am
@@ -25,6 +25,8 @@ library_include_HEADERS = apidefs.h
 noinst_PROGRAMS = mkdfa CompileParseRules
 check_PROGRAMS = test_tsutil test_arena test_atomic test_freelist test_geometry test_List test_Map test_Vec test_X509HostnameValidator
 
+TESTS_ENVIRONMENT = LSAN_OPTIONS=suppressions=suppression.txt
+
 TESTS = $(check_PROGRAMS)
 
 AM_CPPFLAGS = -I$(top_srcdir)/lib
diff --git a/lib/ts/suppression.txt b/lib/ts/suppression.txt
new file mode 100644
index 0000000..30e78d9
--- /dev/null
+++ b/lib/ts/suppression.txt
@@ -0,0 +1,2 @@
+leak:CRYPTO_malloc
+leak:CRYPTO_realloc

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].