https://github.com/python/cpython/commit/095cd02562cbd359cad16b4b208ffd22c9f55f27
commit: 095cd02562cbd359cad16b4b208ffd22c9f55f27
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-10-11T16:24:42Z
summary:

[3.15] gh-158868: Reduce ASLR in the MSan CI job (GH-158872) (#159179)

(cherry picked from commit dc0add3a65fc5de8f0ec8a687dccba435d52d97a)

Co-authored-by: Stan Ulbrych <[email protected]>

files:
M .github/workflows/reusable-san.yml

diff --git a/.github/workflows/reusable-san.yml 
b/.github/workflows/reusable-san.yml
index da6306a50cf7bc..f63c2b89134aca 100644
--- a/.github/workflows/reusable-san.yml
+++ b/.github/workflows/reusable-san.yml
@@ -72,6 +72,8 @@ jobs:
     - name: MSan option setup
       if: inputs.sanitizer == 'MSan'
       run: |
+        sudo sysctl -w vm.mmap_rnd_bits=28  # Reduce ASLR to avoid MSan 
re-executing
+
         echo "MSAN_OPTIONS=${SAN_LOG_OPTION} allocator_may_return_null=1 
handle_segv=0" >> "$GITHUB_ENV"
         # MSan reports false positives for memory initialized by libraries
         # that are not built with MSan, so disable modules that use them.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to