dotnet / dotnet/dotnet-api-docs
Possible StackOverflow in SocketAsyncEventArgs examples
Open
area-System.Net.Sockets
Pri3
untriaged
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
https://github.com/dotnet/dotnet-api-docs/pull/8337 fixed one StackOverflow case when accepting new connections, there is another opportunity for stack overflow in the mutual recursion of `ProcessSend` and `ProcessReceive` functions
https://github.com/dotnet/dotnet-api-docs/blob/dcc2e4079713f184e11ff690ac6da92e05d3d788/snippets/csharp/System.Net.Sockets/SocketAsyncEventArgs/Overview/AsyncSocketServer.cs#L318-L364
Contributor guide
Assessment
This issue has not been assessed yet.