diff options
author | Nikias Bassen | 2015-12-22 18:10:35 +0100 |
---|---|---|
committer | Nikias Bassen | 2015-12-22 18:10:35 +0100 |
commit | decffad5f5a0320b1b6e9e8cda821534ba2ed0ca (patch) | |
tree | 95c57bf6c29ae4a43a9a08a27d86848e83611b7b /src/lockdown.h | |
parent | cae19fa6cf28074b51ce421d64142f7ec1e1dde2 (diff) | |
download | libimobiledevice-decffad5f5a0320b1b6e9e8cda821534ba2ed0ca.tar.gz libimobiledevice-decffad5f5a0320b1b6e9e8cda821534ba2ed0ca.tar.bz2 |
tools: idevicecrashreport: Fix missing 0-term when creating local filename
When a .synced file is encountered, the .synced should be stripped off the
local filename. However the strncpy doesn't 0-terminate the string by itself
so the output filename usually contains some garbage characters at the end.
This commit properly 0-terminates the local filename to avoid this.
Diffstat (limited to 'src/lockdown.h')
0 files changed, 0 insertions, 0 deletions