Task 60902738240

refactor: avoid possible UB from `std::distance` for `nullptr` args

2026-01-20 14:35:55 completed l0rinc/pool-allocator-ub 477c5504e05f9031449cdbf62bf329eac427cb0c


Commands that took longer than 1 second (total 41m25s)
linedurationpercentagecommand
68625s1%retry -- pip3 install --user --break-system-packages pycapnp zmq
9691s0%cmake -S /Users/runner/work/bitcoin/bitcoin/repo_archive -B /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0 -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out -Werror=dev --preset=dev-mode -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON '-DCMAKE_EXE_LINKER_FLAGS=-Wl,-stack_size -Wl,0x80000'
97324s0%- skipped
13041s0%compiler flags .................... -O2 -g -std=c++20 -fPIC -fdebug-prefix-map=/Users/runner/work/bitcoin/bitcoin/repo_archive/src=. -fmacro-prefix-map=/Users/runner/work/bitcoin/bitcoin/repo_archive/src=. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -mbranch-protection=bti -Werror -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter
132117m45s42%cmake --build /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0 -j3 --target all install deploy
26301m10s2%ctest --test-dir /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0 --stop-on-failure -j3 --timeout 2400
294617m16s41%/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0/test/functional/test_runner.py -j3 --tmpdirprefix /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/test_runner/ --ansi --combinedlogslen=99999999 --timeout-factor=40 --quiet --failfast
41124s0%'[' false = true ']'
Tags
  • macOS native
  • l0rinc/pool-allocator-ub
  • COMPLETED