diff options
author | Bastien Nocera | 2018-07-24 14:24:56 +0200 |
---|---|---|
committer | Bastien Nocera | 2018-07-24 14:36:27 +0200 |
commit | 6358b721c2f4dfea1d8f9f84346da30b458ec441 (patch) | |
tree | fa50c5fe97e1ac7910dab2569999a820c6ddf4cb /src | |
parent | 370a323148f691a5bb8f1d59b3c4aaf439f2d4b2 (diff) | |
download | libimobiledevice-6358b721c2f4dfea1d8f9f84346da30b458ec441.tar.gz libimobiledevice-6358b721c2f4dfea1d8f9f84346da30b458ec441.tar.bz2 |
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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions