Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport staging-24.05] python312: fix memory exhaustion vulnerability in asyncio.protocols #363230

Merged
merged 1 commit into from
Dec 24, 2024

python312: fix memory exhaustion vulnerability in asyncio.protocols

b458fe4
Select commit
Loading
Failed to load commit list.
Merged

[Backport staging-24.05] python312: fix memory exhaustion vulnerability in asyncio.protocols #363230

python312: fix memory exhaustion vulnerability in asyncio.protocols
b458fe4
Select commit
Loading
Failed to load commit list.
OfBorg / python312, python312.passthru.tests on aarch64-darwin completed Dec 25, 2024 in 0s

Unexpected error: command failed with exit code 1

Attempted: python312, python312.passthru.tests

Details

Partial log

       > INFO     root:spawn.py:38 clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -I/nix/store/g1r0s0mj8hrqg7zzca321x66f9nznl3d-libxcrypt-4.4.36/include -I/private/tmp/nix-build-python3.12-mypy-1.9.0.drv-0/source/mypyc/lib-rt -I/nix/store/k3mghz4adg1m34bhywxfdnhmimdi7m3l-python3-3.12.7/include/python3.12 -c build/__native.c -o build/temp.macosx-11.0-arm64-cpython-312/build/__native.o -O1 -g1 -Werror -Wno-unused-function -Wno-unused-label -Wno-unreachable-code -Wno-unused-variable -Wno-unused-command-line-argument -Wno-unknown-warning-option -Wno-unused-but-set-variable -Wno-ignored-optimization-argument -Wno-cpp
       > INFO     root:dir_util.py:70 creating build/lib.macosx-11.0-arm64-cpython-312
       > INFO     root:spawn.py:38 clang -bundle -undefined dynamic_lookup -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.6/lib -L/nix/store/g1r0s0mj8hrqg7zzca321x66f9nznl3d-libxcrypt-4.4.36/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.14/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.45.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.7/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-apple-framework-SystemConfiguration-11.0.0/lib -L/nix/store/g5kfjfv559h133vf5x9kvhnyizjwslmx-tzdata-2024b/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p10/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.6/lib -L/nix/store/g1r0s0mj8hrqg7zzca321x66f9nznl3d-libxcrypt-4.4.36/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.14/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.45.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.7/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-apple-framework-SystemConfiguration-11.0.0/lib -L/nix/store/g5kfjfv559h133vf5x9kvhnyizjwslmx-tzdata-2024b/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p10/lib build/temp.macosx-11.0-arm64-cpython-312/build/__native.o -L/nix/store/k3mghz4adg1m34bhywxfdnhmimdi7m3l-python3-3.12.7/lib -o build/lib.macosx-11.0-arm64-cpython-312/native.cpython-312-darwin.so
       > INFO     root:file_util.py:130 copying build/lib.macosx-11.0-arm64-cpython-312/native.cpython-312-darwin.so ->
       > =========================== short test summary info ============================
       > FAILED mypyc/test/test_run.py::TestRun::run-dicts.test::testDictIterationMethodsRun
       > ===== 1 failed, 11404 passed, 330 skipped, 9 xfailed in 1214.39s (0:20:14) =====
       For full logs, run 'nix log /nix/store/s8cxlyjai7fgbrq37vbzvq3j85adkd2i-python3.12-mypy-1.9.0.drv'.
error: 1 dependencies of derivation '/nix/store/zlqp6zw5hrxqayvidyqd3djakq7zm63d-python3-3.12.7-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zl9zw6zskzpcx7mbn914bw3ynj6v882h-python3-3.12.7-site-prefix-mypy-test.drv' failed to build