commit | 6358b721c2f4dfea1d8f9f84346da30b458ec441 | [log] [tgz] |
---|---|---|
author | Bastien Nocera <hadess@hadess.net> | Tue Jul 24 14:24:56 2018 +0200 |
committer | Bastien Nocera <hadess@hadess.net> | Tue Jul 24 14:36:27 2018 +0200 |
tree | fa50c5fe97e1ac7910dab2569999a820c6ddf4cb | |
parent | 370a323148f691a5bb8f1d59b3c4aaf439f2d4b2 [diff] |
idevicedebugserverproxy: Fix possible use-after-free When creating a connection handler thread fails, and we close the server_fd, do not loop back to the start of the loop trying to run socket_accept() on a closed fd, but break out of the loop instead.