dotnet / dotnet/dotnet-api-docs

Possible StackOverflow in SocketAsyncEventArgs examples

Open
#8,347 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.