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

fix: potential index out of bounds #5775

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

Fixes a potential index out of bounds error in sync

Motivation and Context

If more than one peer is given to the any of the sync services, and any peer except the last is removed from the list, the code will throw an index-out-of-bound error.

@github-actions
Copy link

github-actions bot commented Sep 15, 2023

Test Results (CI)

1 219 tests   1 219 ✔️  16m 39s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit 58f9a2e.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Sep 15, 2023
@github-actions
Copy link

Test Results (Integration tests)

29 tests   29 ✔️  13m 7s ⏱️
11 suites    0 💤
  2 files      0

Results for commit 5fe1a48.

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Sep 15, 2023
@SWvheerden SWvheerden merged commit f17ac6b into tari-project:development Oct 5, 2023
12 checks passed
@SWvheerden SWvheerden deleted the sw_fix_index_out_of_bounds branch October 25, 2023 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants