Skip to content

gh-157335: Fix out-of-bounds write in mmap.mmap.__setitem__ #209319

gh-157335: Fix out-of-bounds write in mmap.mmap.__setitem__

gh-157335: Fix out-of-bounds write in mmap.mmap.__setitem__ #209319

Triggered via pull request September 13, 2026 15:17
Status Cancelled
Total duration 2m 58s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
47s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
1m 36s
Docs / Doctest
Docs  /  Check EPUB
1m 36s
Docs / Check EPUB
Check if Autoconf files are up to date
28s
Check if Autoconf files are up to date
Check if generated files are up to date
1m 36s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
10s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
1m 37s
Ubuntu (installed) / build, install and test
iOS
1m 33s
iOS
Emscripten  /  build and test
1m 37s
Emscripten / build and test
WASI  /  build and test
1m 21s
WASI / build and test
Hypothesis tests on Ubuntu
1m 36s
Hypothesis tests on Ubuntu
Cross build Linux
1m 36s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

108 errors, 7 warnings, and 2 notices
CIFuzz / cpython3 (undefined)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
CIFuzz / cpython3 (undefined)
The operation was canceled.
CIFuzz / cpython3 (memory)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
CIFuzz / cpython3 (memory)
The operation was canceled.
WASI / build and test
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
WASI / build and test
The operation was canceled.
CIFuzz / cpython3 (address)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
CIFuzz / cpython3 (address)
The operation was canceled.
Ubuntu / build and test (ubuntu-26.04-arm)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu / build and test (ubuntu-26.04-arm)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
The operation was canceled.
Docs / Check EPUB
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Docs / Check EPUB
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.8)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.8)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
The operation was canceled.
Check if generated files are up to date
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Check if generated files are up to date
The operation was canceled.
Sanitizers / TSan (free-threading)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Sanitizers / TSan (free-threading)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.5.0)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.5.0)
The operation was canceled.
Docs / Docs
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Docs / Docs
The operation was canceled.
Hypothesis tests on Ubuntu
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Hypothesis tests on Ubuntu
The operation was canceled.
Address sanitizer (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Address sanitizer (ubuntu-26.04)
The operation was canceled.
macOS (free-threading) / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
macOS (free-threading) / build and test (macos-26)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.7)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.7)
The operation was canceled.
Cross build Linux
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Cross build Linux
The operation was canceled.
macOS / build and test (macos-26-intel)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
macOS / build and test (macos-26-intel)
The operation was canceled.
Emscripten / build and test
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Emscripten / build and test
The operation was canceled.
iOS
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
iOS
The operation was canceled.
Sanitizers / TSan
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Sanitizers / TSan
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.4)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.4)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.0.22)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.0.22)
The operation was canceled.
Docs / Doctest
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Docs / Doctest
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.2)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.2)
The operation was canceled.
Android (x86_64)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Android (x86_64)
The operation was canceled.
Android (aarch64)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Android (aarch64)
The operation was canceled.
Windows / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Windows / Build and test (arm64, switch-case)
The operation was canceled.
Windows (free-threading) / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Windows (free-threading) / Build and test (arm64, switch-case)
The operation was canceled.
macOS / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
macOS / build and test (macos-26)
The operation was canceled.
Sanitizers / UBSan
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Sanitizers / UBSan
The operation was canceled.
Windows (free-threading) / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Windows (free-threading) / Build and test (x64, switch-case)
The operation was canceled.
Ubuntu (installed) / build, install and test
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu (installed) / build, install and test
The operation was canceled.
Windows (free-threading) / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Windows (free-threading) / Build and test (x64, tail-call)
The operation was canceled.
Windows / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Windows / Build and test (x64, tail-call)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu (free-threading) / build and test (ubuntu-26.04)
The operation was canceled.
Ubuntu / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu / build and test (ubuntu-26.04)
The operation was canceled.
Windows / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Windows / Build and test (x64, switch-case)
The operation was canceled.
Windows / Build and test (Win32, switch-case)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Windows / Build and test (Win32, switch-case)
The operation was canceled.
Ubuntu (bolt) / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Ubuntu (bolt) / build and test (ubuntu-26.04)
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Tests
Canceling since a higher priority waiting request for Tests-Joekrry-fix-mmap-setitem-resize-reentrancy exists
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
Address sanitizer (ubuntu-26.04): Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Cross build Linux: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Ubuntu (installed) / build, install and test: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Windows / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"
Windows (free-threading) / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
363 Bytes
sha256:a495a045a26c4714e83537b8ca03d19f4b0e2cae07ecfe351f7d38b9fc9d899e