Skip to content

fix: out-of-range vector accesses in SCC and betweenness centrality - #52

Merged
jeremy-murphy merged 2 commits into
boostorg:developfrom
Becheler:fix/out-of-range-vector-access
Nov 22, 2026
Merged

jeremy-murphy merged 2 commits into
boostorg:developfrom
Becheler:fix/out-of-range-vector-access

Conversation

@Becheler

Copy link
Copy Markdown
Contributor

Ref #51

Fixes two out-of-range std::vector accesses that make the clang++-19 CI jobs fail on the new ubuntu-26.04 runner (libstdc++ 15 enables bounds assertions in unoptimized builds). Both date from the original PBGL import.

  1. The first commit adds the hardening only and is expected to be red on distributed_strong_components_test and distributed_betweenness_centrality_test
  2. the second commit fixes them.

@jeremy-murphy
jeremy-murphy merged commit 15a9288 into boostorg:develop Nov 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants