summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/lockdown.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-12-13 00:55:33 +0100
committerGravatar Nikias Bassen2020-12-13 00:55:33 +0100
commit9c3dd915ea00ce33d6dee359bcef963a586aaf05 (patch)
tree9111c69a3d27e606cb672b5ef6db0a96c111c6e3 /include/libimobiledevice/lockdown.h
parent8c5ab80581e00c13cf852f378767a25d5df903b2 (diff)
downloadlibimobiledevice-9c3dd915ea00ce33d6dee359bcef963a586aaf05.tar.gz
libimobiledevice-9c3dd915ea00ce33d6dee359bcef963a586aaf05.tar.bz2
idevicescreenshot: Remove unnecessary math functions to find a unique filename
Removes repeated malloc/free too, limits the maximum filenames to try to 65535 and fails if no unique filename could be found. I think this limit is VERY generous. If there are really so many files to test against it will also cause an unconveniently long delay, but I felt a lower limit could still be easily reached.
Diffstat (limited to 'include/libimobiledevice/lockdown.h')
0 files changed, 0 insertions, 0 deletions