[MDEV-21444] socket leak in handle_connections_win.cc in case of WSAECONNRESET in AcceptEx Created: 2020-01-08 Updated: 2020-03-25 Resolved: 2020-03-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows, Server |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.5.1, 10.4.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Found by code inspection: socket created in Socket_Listener::begin_accept() is not closed, if AcceptEx returns WSAECONNRESET, creating a resource leak. |