From 0fccc3396363c58b5c00729136ceeb29eeccdad1 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Tue, 19 Mar 2024 17:15:14 +0100 Subject: [PATCH] ci: Add workaround for ASLR bug in sanitizers Fixes #1506. --- .github/actions/run-in-docker-action/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/run-in-docker-action/action.yml b/.github/actions/run-in-docker-action/action.yml index dbfaa4fece..075e1a4fd3 100644 --- a/.github/actions/run-in-docker-action/action.yml +++ b/.github/actions/run-in-docker-action/action.yml @@ -36,6 +36,10 @@ runs: load: true cache-from: type=gha + - # Workaround for https://github.com/google/sanitizers/issues/1614 . + run: sysctl -w vm.mmap_rnd_bits=28 + shell: bash + - # Tell Docker to pass environment variables in `env` into the container. run: > docker run \