File 0901-crypto-Suppress-false-memory-leak-for-engine-test.patch of Package erlang
From 5e3ffe483201738e27ad14b4d7ac3063f1a04ec3 Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Mon, 27 Apr 2020 15:54:17 +0200
Subject: [PATCH] crypto: Suppress false memory leak for engine test
---
erts/emulator/valgrind/suppress.standard | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/erts/emulator/valgrind/suppress.standard b/erts/emulator/valgrind/suppress.standard
index 99a3ee4048..3d6b4b50d3 100644
--- a/erts/emulator/valgrind/suppress.standard
+++ b/erts/emulator/valgrind/suppress.standard
@@ -252,7 +252,19 @@ obj:*/ssleay.*
fun:start_thread
fun:clone
}
-
+{
+ Crypto engine internal...
+ Memcheck:Leak
+ fun:malloc
+ fun:CRYPTO_malloc
+ fun:ENGINE_new
+ fun:ENGINE_by_id
+ fun:engine_by_id_nif
+ fun:process_main
+ fun:sched_thread_func
+ fun:thr_wrapper
+ fun:start_thread
+}
{
Harmless assembler bug in openssl
Memcheck:Addr8
--
2.26.1