Commit 3c911b91 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix UDP buffer memory leak when max clients reached

Caught by Coverity-scan CID 330055
parent f3e4a6e4
......@@ -2247,6 +2247,7 @@ void DLLCALL services_thread(void* arg)
,service[i].protocol, host_ip, inet_addrport(&client_addr));
if(service[i].max_clients && protected_uint32_value(service[i].clients) + 1 > service[i].max_clients) {
lprintf(LOG_WARNING,"%04d %s !MAXIMUM CLIENTS (%u) reached, access denied"
,client_socket, service[i].protocol, service[i].max_clients);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment