Skip to content

Conversation

@eerhardt
Copy link
Member

MulticastOption.Group is not supposed to accept null. If someone sets it to null, we will NRE inside of the Sockets implementation.

I also fixed two small double-cast problems while I was in here.

Fix #32490

Note that this is a breaking change. I'm not sure all the ways I'm supposed to document this. If anyone has thoughts, please let me know.

@eerhardt eerhardt added the breaking-change Issue or PR that represents a breaking API or functional change over a previous release. label Feb 19, 2020
@eerhardt eerhardt requested review from a team, davidsh and stephentoub February 19, 2020 00:23
@carlossanlop
Copy link
Contributor

I'm not sure all the ways I'm supposed to document this. If anyone has thoughts, please let me know.

@ericstj knows where breaking changes should be mentioned.

For dotnet-api-docs, I can help.

Copy link
Contributor

Choose a reason for hiding this comment

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

@davidsh davidsh added this to the 5.0 milestone Feb 19, 2020
@eerhardt eerhardt closed this Feb 19, 2020
@eerhardt eerhardt reopened this Feb 19, 2020
MulticastOption.Group is not supposed to accept null. If someone sets it to null, we will NRE inside of the Sockets implementation.

I also fixed two small double-cast problems while I was in here.

Fix dotnet#32490
@danmoseley
Copy link
Member

@eerhardt this is labeled breaking change. Can you please open an issue if necessary using https://github.com/dotnet/docs/issues/new?template=dotnet-breaking-change.md ?

@eerhardt
Copy link
Member Author

@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Sockets breaking-change Issue or PR that represents a breaking API or functional change over a previous release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MulticastOption Group setter should not allow null

5 participants