]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: build WolfSSL job with asan enabled
authorIlia Shipitsin <chipitsine@gmail.com>
Fri, 3 Apr 2026 18:10:11 +0000 (20:10 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 13 Apr 2026 12:03:30 +0000 (14:03 +0200)
Reference: https://github.com/haproxy/haproxy/issues/3317

this allows to distribute memory checking to WolfSSL code as well

Only applies on the WolfSSL weekly job which build the wolfssl git
version.

.github/workflows/wolfssl.yml

index 41982fa5a98bb795307003bc0855b338dac6eaea..bf0405c418be9ae548afd907624a5d3a1315c331 100644 (file)
@@ -19,7 +19,7 @@ jobs:
           sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
           sudo apt-get --no-install-recommends -y install socat gdb jose
       - name: Install WolfSSL
-        run: env WOLFSSL_VERSION=git-master WOLFSSL_DEBUG=1 scripts/build-ssl.sh
+        run: env WOLFSSL_VERSION=git-master WOLFSSL_DEBUG=1 CFLAGS="-fsanitize=address -g" scripts/build-ssl.sh
       - name: Compile HAProxy
         run: |
           make -j$(nproc) ERR=1 CC=gcc TARGET=linux-glibc \