-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Milestone
Description
There is a race in Socket when BeginSendTo is used on an unbound socket. You can see code for setting _rightEndPoint:
SocketTaskExtensions.SendToAsync wraps this and so is also affected.
_rightEndPoint is also used in BeginReceiveFrom in a way that could cause a parameter check to be "skipped" if BeginSendTo resets it to null.
Reactions are currently unavailable