Skip to content

[3.14] gh-151695: Fix use-after-free of the curses screen encoding (GH-151696) #196967

[3.14] gh-151695: Fix use-after-free of the curses screen encoding (GH-151696)

[3.14] gh-151695: Fix use-after-free of the curses screen encoding (GH-151696) #196967

Triggered via pull request June 19, 2026 08:55
Status Cancelled
Total duration 27m 1s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
10s
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-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Docs  /  Docs
2m 3s
Docs / Docs
Docs  /  Doctest
1m 26s
Docs / Doctest
Docs  /  Check EPUB
2m 8s
Docs / Check EPUB
Check if Autoconf files are up to date
29s
Check if Autoconf files are up to date
Check if generated files are up to date
1m 46s
Check if generated files are up to date
iOS
1m 46s
iOS
Emscripten  /  build and test
1m 10s
Emscripten / build and test
WASI  /  build and test
1m 5s
WASI / build and test
Hypothesis tests on Ubuntu
1m 21s
Hypothesis tests on Ubuntu
Cross build Linux
1m 57s
Cross build Linux
Check if the ABI has changed
1m 18s
Check if the ABI has changed
Matrix: build-android
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 19 warnings
WASI / build and test
Process completed with exit code 1.
Emscripten / build and test
Process completed with exit code 1.
Check if the ABI has changed
Process completed with exit code 2.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.4.6)
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Modules/_cursesmodule.c#L3558
implicit declaration of function ‘_curses_set_null_error’; did you mean ‘_curses_setupterm’? [-Werror=implicit-function-declaration]
Ubuntu SSL tests (ubuntu-24.04, openssl, 1.1.1w)
Process completed with exit code 2.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.5.7)
Process completed with exit code 2.
Docs / Doctest
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04): Modules/_cursesmodule.c#L3558
implicit declaration of function ‘_curses_set_null_error’; did you mean ‘_curses_setupterm’? [-Werror=implicit-function-declaration]
Android (aarch64)
Process completed with exit code 1.
Android (x86_64)
Process completed with exit code 1.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.6.3)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Modules/_cursesmodule.c#L3558
implicit declaration of function ‘_curses_set_null_error’; did you mean ‘_curses_setupterm’? [-Werror=implicit-function-declaration]
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.0.21)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm): Modules/_cursesmodule.c#L3558
implicit declaration of function ‘_curses_set_null_error’; did you mean ‘_curses_setupterm’? [-Werror=implicit-function-declaration]
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04): Modules/_cursesmodule.c#L3558
implicit declaration of function ‘_curses_set_null_error’; did you mean ‘_curses_setupterm’? [-Werror=implicit-function-declaration]
Check if generated files are up to date
Process completed with exit code 2.
iOS
Process completed with exit code 1.
Ubuntu (bolt) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-24.04): Modules/_cursesmodule.c#L3558
implicit declaration of function ‘_curses_set_null_error’; did you mean ‘_curses_setupterm’? [-Werror=implicit-function-declaration]
Cross build Linux
Process completed with exit code 2.
Cross build Linux: Modules/_cursesmodule.c#L3558
implicit declaration of function ‘_curses_set_null_error’; did you mean ‘_curses_setupterm’? [-Werror=implicit-function-declaration]
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Sanitizers / TSan
Process completed with exit code 2.
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04): Modules/_cursesmodule.c#L3558
implicit declaration of function ‘_curses_set_null_error’; did you mean ‘_curses_setupterm’? [-Werror=implicit-function-declaration]
macOS / build and test (macos-26)
Process completed with exit code 2.
macOS / build and test (macos-15-intel)
Process completed with exit code 2.
Sanitizers / UBSan
Process completed with exit code 2.
Windows (free-threading) / Build and test (x64)
Canceling since a higher priority waiting request for Tests-serhiy-storchaka-backport-551f8e1-3.14 exists
Windows (free-threading) / Build and test (x64)
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-serhiy-storchaka-backport-551f8e1-3.14 exists
Tests
Canceling since a higher priority waiting request for Tests-serhiy-storchaka-backport-551f8e1-3.14 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.
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!
macOS (free-threading) / build and test (macos-26)
The following taps are not trusted: aws/tap azure/bicep Homebrew will ignore formulae, casks and commands from these taps when `HOMEBREW_REQUIRE_TAP_TRUST` is set. This will become the default in Homebrew 6.0.0 or 5.2.0, whichever comes first. Enable trust checks now with: export HOMEBREW_REQUIRE_TAP_TRUST=1 Trust specific formulae, casks or commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> or trust installed formulae from these taps with: brew trust --formula azure/bicep/bicep You can trust all formulae, casks and commands from these taps with: brew trust aws/tap azure/bicep Prefer trusting only the specific formulae, casks or commands you need. Untap them with: brew untap aws/tap azure/bicep To keep allowing them by default during the transition: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release.
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26)
The following taps are not trusted: aws/tap azure/bicep Homebrew will ignore formulae, casks and commands from these taps when `HOMEBREW_REQUIRE_TAP_TRUST` is set. This will become the default in Homebrew 6.0.0 or 5.2.0, whichever comes first. Enable trust checks now with: export HOMEBREW_REQUIRE_TAP_TRUST=1 Trust specific formulae, casks or commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> or trust installed formulae from these taps with: brew trust --formula azure/bicep/bicep You can trust all formulae, casks and commands from these taps with: brew trust aws/tap azure/bicep Prefer trusting only the specific formulae, casks or commands you need. Untap them with: brew untap aws/tap azure/bicep To keep allowing them by default during the transition: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release.
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-15-intel)
The following taps are not trusted: aws/tap azure/bicep Homebrew will ignore formulae, casks and commands from these taps when `HOMEBREW_REQUIRE_TAP_TRUST` is set. This will become the default in Homebrew 6.0.0 or 5.2.0, whichever comes first. Enable trust checks now with: export HOMEBREW_REQUIRE_TAP_TRUST=1 Trust specific formulae, casks or commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> or trust installed formulae from these taps with: brew trust --formula azure/bicep/bicep You can trust all formulae, casks and commands from these taps with: brew trust aws/tap azure/bicep Prefer trusting only the specific formulae, casks or commands you need. Untap them with: brew untap aws/tap azure/bicep To keep allowing them by default during the transition: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release.
Windows / Build and test (arm64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / Build and test (arm64): Python/generated_cases.c.h#L12346
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / Build and test (x64): Python/generated_cases.c.h#L12346
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / Build and test (arm64): Python/generated_cases.c.h#L12346
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / Build and test (x64): Python/generated_cases.c.h#L12346
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
388 Bytes
sha256:2a138d76556a4085d56ea9175d2f5e96da08bf18c5da218559def37cb03851ea