]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable internal malloc for AddressSanitizer build
authorOndřej Surý <ondrej@sury.org>
Mon, 19 Nov 2018 05:49:05 +0000 (06:49 +0100)
committerMark Andrews <marka@isc.org>
Wed, 21 Nov 2018 23:34:43 +0000 (10:34 +1100)
(cherry picked from commit 4f7177c7940d3fdc12162c0fc2719a41a7584f12)

.gitlab-ci.yml

index 1bd72a08c30dcaab223ede3283d6169cf45f820f..9eb7da2bd334cbd238d61e368295a2c90bebcad3 100644 (file)
@@ -250,7 +250,7 @@ build:debian:sid:amd64:
 build:asan:debian:sid:amd64:
   variables:
     CC: gcc
-    CFLAGS: "-Wall -Wextra -O2 -g -fsanitize=address,undefined"
+    CFLAGS: "-Wall -Wextra -O2 -g -fsanitize=address,undefined -DISC_MEM_USE_INTERNAL_MALLOC=0"
     LDFLAGS: "-fsanitize=address,undefined"
     EXTRA_CONFIGURE: "--with-libidn2"
   <<: *debian_sid_amd64_image