diff options
author | Nikias Bassen | 2014-09-13 02:43:23 +0200 |
---|---|---|
committer | Nikias Bassen | 2014-09-13 02:43:23 +0200 |
commit | 516e126b1a703afc9c72a77f7d5ad7becff904a1 (patch) | |
tree | b13e02ca5bad69aa143414b6a16e8a6722bd7d7a /dev/lckdclient.c | |
parent | 1af71817b934bff73a23794cb308606726b7b1ad (diff) | |
download | libimobiledevice-516e126b1a703afc9c72a77f7d5ad7becff904a1.tar.gz libimobiledevice-516e126b1a703afc9c72a77f7d5ad7becff904a1.tar.bz2 |
idevicebackup2: Fix retry loop when device requests 0 files
Under certain circumstances a device could request an empty array
of filenames to be transferred with DLMessageDownloadFiles.
This was not handled correctly in idevicebackup2 by just doing
nothing, resulting in a 'retry loop' waiting endlessly for new
messages from the device.
The solution is to send a termination packet and a success
status response.
Thanks to pondahai for reporting.
Diffstat (limited to 'dev/lckdclient.c')
0 files changed, 0 insertions, 0 deletions