In cases where the end is at the end of the array, this ensure we don't access out of bounds. In practice, this isn't a huge deal because the value read is not used and, unless it happens to precisely match a page boundary, it can't fail. Still worth fixing.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCc87ff257e439: [avalanche] Early bail when no matchign slot exists
Repeatedly ran `ninja check-avalanche` under asan.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable