-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Sanitize port
in addpeeraddress()
#23679
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
Conversation
Based on reading few posts like https://softwareengineering.stackexchange.com/questions/280648/why-is-negative-zero-important it could be an issue in some cases @amadeuszpawlik I tried using port Concept ACK for this PR and maybe we need to make changes for few other RPC |
@prayank23 good find with My question still stands, is modifying |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
0f72ddf
to
30c20e1
Compare
30c20e1
to
324b4f7
Compare
- Ensures port sanitization in `addpeeraddress()` - Adds test to check for invalid port values
324b4f7
to
ada8358
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ada8358
ada8358 Sanitize port in `addpeeraddress()` (amadeuszpawlik) Pull request description: In connection to bitcoin#22087, it has been [pointed out](bitcoin#22087 (review)) that `addpeeraddress` needs to get its port-value sanitized. ACKs for top commit: fanquake: ACK ada8358 Tree-SHA512: 48771cd4f6940aa7840fa23488565c09dea86bd5ec5a5a1fc0374afb4857aebcd2a1f51e2d4cb7348460e0ad9793dc5d2962df457084ed2b8d8142cae650003f
In connection to #22087, it has been pointed out that
addpeeraddress
needs to get its port-value sanitized.