Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
Description
According to MS Docs WSADuplicateSocket can duplicate sockets created from one process into another process. Currently the ReactOS version of the function does not do that. I am working on test code for this issue but it was observed while working on testing for CORE-17554. Tracing indicates that the the current code completely ignores the source PID parameter and calls WsSockGetSocket() and WsSockGetSocket() internally calls WsGetProcess()which simply returns the process structure for the current PID and then fails to find the socket.
Attachments
Issue Links
- relates to
-
CORE-17554 Winsock Handles not inherited in CreateProcess called with bInheritHandles=TRUE
- Untriaged