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

Sanitize PinningOperation.Peers (don't allow nil ma.Multiaddr) #641

Merged

Conversation

snissn
Copy link
Contributor

@snissn snissn commented Dec 1, 2022

sanitize Peers ( not allow nil ma.Multiaddr) in pinmgr.Add and include several tests for coverage to validate the sanitize method

@en0ma / @alvin-reyes can you validate the sanitize method does what we intend? if it needs modifications please let me know

…e several tests for coverage to validate the sanitize method
@snissn snissn requested a review from en0ma December 1, 2022 18:56
@snissn snissn linked an issue Dec 1, 2022 that may be closed by this pull request
@snissn snissn enabled auto-merge December 1, 2022 18:56
Copy link
Contributor

@alvin-reyes alvin-reyes left a comment

Choose a reason for hiding this comment

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

LGTM

@snissn snissn merged commit ce9d81c into dev Dec 1, 2022
@en0ma en0ma deleted the 640-sanitize-pinningoperationpeers-dont-allow-nil-mamultiaddr branch December 2, 2022 05:42
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.

Sanitize PinningOperation.Peers (don't allow nil ma.Multiaddr)
2 participants