Skip to content

gh-158583: Fix uninitialized memory read in bytes.fromhex() #212022

gh-158583: Fix uninitialized memory read in bytes.fromhex()

gh-158583: Fix uninitialized memory read in bytes.fromhex() #212022

Triggered via pull request October 3, 2026 14:17
Status Failure
Total duration 33m 5s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
12s
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
8m 5s
Docs / Doctest
Docs  /  Check EPUB
2m 22s
Docs / Check EPUB
Check if Autoconf files are up to date
26s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 46s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
11s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 0s
Ubuntu (installed) / build, install and test
iOS
20m 49s
iOS
Emscripten  /  build and test
20m 24s
Emscripten / build and test
WASI  /  build and test
4m 24s
WASI / build and test
Hypothesis tests on Ubuntu
10m 42s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
12m 37s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
3m 46s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
1m 39s
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

4 errors, 7 warnings, and 13 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64, tail-call)
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Cross build Linux: Parser/lexer/string.c#L86
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Ubuntu (installed) / build, install and test: Parser/lexer/string.c#L86
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
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 / 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)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Address sanitizer (ubuntu-26.04): Parser/lexer/string.c#L86
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Docs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check EPUB
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check for removed HTML IDs / Check for removed HTML IDs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
CIFuzz / cpython3 (address)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (undefined)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
CIFuzz / cpython3 (memory)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.5 KB
sha256:1ac1f842ce51692c26890c96a53c043913b7d8002352f6cc9867946b6e9980c9
html-ids-head.json.gz
130 KB
sha256:c67d515b9921e983c579e1283dee294498ed18fb82877c6afa88b9df8476f8d0