[glib-networking/wip/nacho/openssl: 18/21] Add suppression for openssl



commit b81734509fc9674d468bdb65d38ffdbd1de6b8b1
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Tue Sep 11 16:10:25 2018 +0200

    Add suppression for openssl

 .gitlab-ci.yml      | 2 ++
 tls/tests/asan.supp | 2 ++
 2 files changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ffc0347..875e8bb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,8 @@ build_stable:
     - dnf builddep -y --nogpgcheck glib-networking
     - dnf install -y --nogpgcheck $ADDITIONAL_DEPENDENCIES
   script:
+    - export LSAN_OPTIONS=suppressions=$PWD/tls/tests/asan.supp
+    - env
     - mkdir build
     - cd build
     - meson .. -Db_sanitize=address
diff --git a/tls/tests/asan.supp b/tls/tests/asan.supp
new file mode 100644
index 0000000..30e78d9
--- /dev/null
+++ b/tls/tests/asan.supp
@@ -0,0 +1,2 @@
+leak:CRYPTO_malloc
+leak:CRYPTO_realloc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]