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

Check non-nil validator before accessing withdrawal credentials #14705

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

prestonvanloon
Copy link
Member

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

This is a defensive check. It is currently not possible for this logic to trigger, but a free /
cheap check to prevent out of bounds array access or nil pointer deference.

Which issues(s) does this PR fix?

N/A

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have made an appropriate entry to CHANGELOG.md.
  • I have added a description to this PR with sufficient context for reviewers to understand this PR.

@prestonvanloon prestonvanloon requested a review from a team as a code owner December 9, 2024 20:59
saolyn
saolyn previously approved these changes Dec 16, 2024
Copy link
Contributor

@saolyn saolyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@prestonvanloon
Copy link
Member Author

@saolyn resolved conflict. PTAL

@prestonvanloon prestonvanloon added this pull request to the merge queue Dec 16, 2024
Merged via the queue into develop with commit b7de64a Dec 16, 2024
15 checks passed
@prestonvanloon prestonvanloon deleted the check-nil-val branch December 16, 2024 16:41
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