-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[2.1] Fix IPNetwork.Contains for prefixes which are not at start of subnet range. #50967
[2.1] Fix IPNetwork.Contains for prefixes which are not at start of subnet range. #50967
Conversation
…f subnet range. Backport of 3d00915 to 2.1.
Hi @adityamandaleeka. If this is not a tell-mode PR, please make sure to follow the instructions laid out in the servicing process document. |
I'll add the template and update patchconfig once validation is complete. |
I think you need to update it for the tests to run with the changes. |
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Hi @adityamandaleeka. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge. To learn more about how to prepare a servicing PR click here. |
@BrennanConroy Can I get another review please? |
@@ -139,6 +139,7 @@ Later on, this will be checked using this condition: | |||
Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv; | |||
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets; | |||
Microsoft.AspNetCore.SignalR.Redis; | |||
Microsoft.AspNetCore.HttpOverrides; |
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.
I assume this should be in a new section for 2.1.41?
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.
@wtgodbe is going to handle that.
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.
pending patch.config comment
Hi @adityamandaleeka. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed. |
[2.1] Fix IPNetwork.Contains for prefixes which are not at start of subnet range
Description
The code in IPNetwork.Contains was incorrectly handling certain cases because the way subnet membership comparison code was incorrect.
This is a backport of 3d00915 to 2.1.
6.0 PR: #31573
Fixes #6674 in 2.1
Customer Impact
The result of the
Contains
method could be incorrect.Regression?
Risk
Simple correctness change.
Verification
Packaging changes reviewed?
When servicing release/2.1