Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libvncserver: mitigate FORTIFY crash in listenerRun()
With the previous commit acac779 the select() call now times out, opening up for a race condition where rfbShutdownSockets() would set the listening sockets to -1, the select would time out and the FD_ISSET() call encounter a -1 socket. This is not 100% threadsafe but better than before.
- Loading branch information