-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Description
The NetworkAddressChange implementation for Unix has a read loop with a raw handle:
Lines 173 to 179 in 43ceed5
| private static unsafe void LoopReadSocket(int socket) | |
| { | |
| while (socket == s_socket) | |
| { | |
| Interop.Sys.ReadEvents(socket, &ProcessEvent); | |
| } | |
| } |
Between the condition-check in the while loop, and passing the handle to ReadEvents the handle may be re-used for something other. That means we'll be reading for some one else's file descriptor.
Reactions are currently unavailable