From 76397efa21d0075705ccae1f451e39e7b6967f17 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 24 Nov 2015 15:28:11 +0100 Subject: [PATCH] testing: Disable leak detective when generating CRLs GnuTLS, which can get loaded by the curl plugin, does not properly cleanup some allocated memory when deinitializing. This causes invalid frees if leak detective is active. Other invalid frees are related to time conversions (tzset). References #1382. --- testing/hosts/winnetou/etc/openssl/generate-crl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/hosts/winnetou/etc/openssl/generate-crl b/testing/hosts/winnetou/etc/openssl/generate-crl index de3c13dcf..fd75ed0f3 100755 --- a/testing/hosts/winnetou/etc/openssl/generate-crl +++ b/testing/hosts/winnetou/etc/openssl/generate-crl @@ -14,6 +14,10 @@ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. +# libgnutls, if pulled in by libcurl, does not properly cleanup all memory, +# which causes invalid frees during shutdown when leak detective is used +export LEAK_DETECTIVE_DISABLE=1 + export COMMON_NAME=strongSwan ROOT=/var/www