arduinoWebSockets icon indicating copy to clipboard operation
arduinoWebSockets copied to clipboard

dropNativeClient() on NULL pointer

Open chester4444 opened this issue 3 years ago • 0 comments

Hi, i connected the maximum number of 5 clients to the server the 6th causes a crash, because of this line https://github.com/Links2004/arduinoWebSockets/blob/f55bf8d4ededd2d7acf36788e5cfe6e6393dd235/src/WebSocketsServer.cpp#L622

as client is set to NULL, the call dropNativeClient(client) should be removed - at least it worked for me

chester4444 avatar Mar 03 '21 20:03 chester4444