File 0661-compiler-fix-crypto-problems.patch of Package erlang

From b74ae0ae10b0ab3fdd922bc993396c249ae844cd Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Mon, 20 Sep 2021 15:31:14 +0200
Subject: [PATCH] compiler: fix crypto problems

Valgrind complains.
---
 erts/emulator/valgrind/suppress.standard | 32 ++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/erts/emulator/valgrind/suppress.standard b/erts/emulator/valgrind/suppress.standard
index 85548e0869..51cb44e5ef 100644
--- a/erts/emulator/valgrind/suppress.standard
+++ b/erts/emulator/valgrind/suppress.standard
@@ -293,6 +293,38 @@ fun:process_main
 fun:sched_thread_func
 }
 {
+Loading problem again. Now after PR
+Memcheck:Leak
+fun:malloc
+...
+fun:valid_curve
+fun:init_curves
+fun:get_curve_cnt
+fun:init_curve_types
+fun:init_algorithms_types
+fun:initialize
+fun:load
+fun:erts_load_nif
+fun:process_main
+}
+{
+Compiler before PR
+Memcheck:Leak
+fun:malloc
+fun:erts_sys_alloc
+fun:erts_alloc_fnf
+fun:erl_drv_mutex_create
+fun:enif_mutex_create
+fun:init_algorithms_types
+fun:initialize
+fun:load
+fun:erts_load_nif
+fun:process_main
+fun:sched_thread_func
+fun:thr_wrapper
+fun:start_thread
+}
+{
 Crypto internal.. loading pecularities revisited
 Memcheck:Leak
 fun:malloc
-- 
2.31.1

openSUSE Build Service is sponsored by