Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-07-24 | idevicebackup2: Fix potential memleak | Bastien Nocera | 1 | -1/+3 | |
If either of dstpath or srcpath can be NULL, then make sure they get freed irrespective of the other variable's value in mb2_copy_directory_by_path() | |||||
2018-07-24 | idevicebackup2: Fix fd leak in mb2_copy_file_by_path() | Bastien Nocera | 1 | -0/+1 | |
fd was leak in error path. | |||||
2016-12-15 | idevicebackup2: Fix logical bug when checking for success of backup operation | Nikias Bassen | 1 | -1/+1 | |
The condition in line 2278 is incorrectly evaluated when mb2_status_check_snapshot_state() isn't able to read the Status.plist file. While `if (-1) { ... }` will be a 'false' condition, `if (1 && -1) { ... }` will be 'true' which in this case would make idevicebackup2 assume the backup was successful while it was not. This commit fixes this issue by changing the default return value of mb2_status_check_snapshot_state() to be 0 (false). Thanks to Xiao Deng for pointing out this issue! | |||||
2016-11-27 | idevicebackup2: Plug some small memory leaks | Nikias Bassen | 1 | -8/+8 | |
2016-11-02 | idevicebackup2: Fix heap buffer out-of-bounds write caused by wrong buffer size | Nikias Bassen | 1 | -1/+1 | |
2016-10-21 | idevicebackup2: Don't report an error when file to remove doesn't exist | Nikias Bassen | 1 | -1/+1 | |
2016-10-21 | idevicebackup2: Use remove_file() wrapper instead of remove() | Nikias Bassen | 1 | -3/+3 | |
2016-10-05 | idevicebackup2: Suppress repeated printing of global status when 100% is reached | Nikias Bassen | 1 | -1/+5 | |
2016-10-04 | idevicebackup2: Fix assertion occuring when copying non-present MEID | Nikias Bassen | 1 | -1/+2 | |
2016-09-23 | idevicebackup2: Add installed application info to Info.plist during backup | Nikias Bassen | 1 | -5/+110 | |
For newer iOS versions, apparently >= iOS 8, iTunes stores information about installed applications inside of the Info.plist file. This commit mimics that behavior. | |||||
2016-09-18 | idevicebackup2: Fix build on win32 after last commit | Nikias Bassen | 1 | -14/+14 | |
2016-09-18 | idevicebackup2: Fix removal of Snapshot dir during backup with iOS 10+ | Nikias Bassen | 1 | -23/+78 | |
DLMessageRemoveItems needs to recursively remove directories and this commit implements that. | |||||
2016-04-01 | idevicebackup: fix some timestamps that are relative to the Mac epoch ↵ | BALATON Zoltan | 1 | -3/+4 | |
instead of Unix one | |||||
2015-10-06 | tools: Use PACKAGE_URL define for homepage project links in usage output | Martin Szulecki | 1 | -1/+5 | |
2015-01-28 | Remove trailing whitespace errors from all files | Martin Szulecki | 1 | -22/+19 | |
2015-01-27 | tools: Add link to project homepage on usage output | Martin Szulecki | 1 | -0/+1 | |
2014-12-08 | Replace () with (void) in libinternalcommon and tools for consistency | Martin Szulecki | 1 | -1/+1 | |
2014-10-22 | common: Move size format helper to utils and use it in idevicebackup tools | Martin Szulecki | 1 | -22/+3 | |
2014-10-22 | common: Move string_toupper() helper to utils and use it in idevicebackup tools | Martin Szulecki | 1 | -11/+1 | |
2014-10-22 | common: Share idevicebackup helper string_build_path() from utils | Martin Szulecki | 1 | -45/+18 | |
2014-10-11 | tools: Make sure to print an error when lockdown connection fails | Nikias Bassen | 1 | -1/+2 | |
2014-10-05 | idevicebackup2: Fix error variables for type consistency | Martin Szulecki | 1 | -6/+7 | |
2014-10-02 | idevicebackup2: Fix backup failure for passcode devices entering lock screen | Martin Szulecki | 1 | -1/+1 | |
A device would report "ErrorCode 1: Error copying keychain data (MBErrorDomain/1)" if a device entered lock state and had a passcode enabled during the backup or restore process. To prevent this, an escrow bag must be sent when starting the service to keep the operation "alive". | |||||
2014-10-02 | idevicebackup2: Use macro instead of plain AFC service name | Martin Szulecki | 1 | -1/+1 | |
2014-10-02 | idevicebackup2: Use correct label for lockdown requests | Martin Szulecki | 1 | -2/+2 | |
2014-09-13 | idevicebackup2: Fix retry loop when device requests 0 files | Nikias Bassen | 1 | -1/+0 | |
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. | |||||
2014-08-06 | idevicebackup2/idevicebackup: Remove code duplication and use common code ↵ | Nikias Bassen | 1 | -92/+1 | |
for reading/writing plist files | |||||
2014-06-21 | idevicebackup2: Use afc_dictionary_free() helper instead of custom code | Martin Szulecki | 1 | -16/+3 | |
2014-05-03 | idevicebackup2: Plug more memory leaks | Nikias Bassen | 1 | -1/+8 | |
2014-05-03 | idevicebackup2: Make sure to free idevice object in error conditions | Nikias Bassen | 1 | -0/+3 | |
2014-05-03 | idevicebackup2: Plug small memory leak | Nikias Bassen | 1 | -1/+1 | |
2014-05-01 | idevicebackup2: Fix invalid check for password given on command line | Nikias Bassen | 1 | -1/+1 | |
2014-03-24 | idevicebackup2: add cast to silence compiler warning | Nikias Bassen | 1 | -1/+1 | |
2014-03-24 | idevicebackup2: WIN32: Use _stati64() instead of stat() so we can handle ↵ | Nikias Bassen | 1 | -2/+17 | |
file sizes > 4GB | |||||
2014-03-20 | Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item()" | Martin Szulecki | 1 | -38/+38 | |
2014-03-04 | idevicebackup2: Remove service name defines obsoleted by public headers | Martin Szulecki | 1 | -3/+0 | |
2014-01-31 | idevicebackup2: allow unbacking encrypted backups (given the password) | Nikias Bassen | 1 | -2/+6 | |
2013-09-27 | idevicebackup2: Cloud support broke other commands thus change it be a command | Martin Szulecki | 1 | -24/+51 | |
The experimental cloud support was triggered on each run of any command which caused some to break on devices without iCloud setup. We now trigger the cloud support in a separate command to fix this and allow further investigation into a proper implementation. | |||||
2013-09-22 | idevicebackup2: suppress message when notification_proxy gets disconnected | Nikias Bassen | 1 | -0/+3 | |
2013-09-22 | idevicebackup2: fix possible crash due to use-after-free | Nikias Bassen | 1 | -0/+1 | |
2013-09-21 | idevicebackup2: Add experimental support for using backups in the cloud | Martin Szulecki | 1 | -3/+22 | |
2013-09-21 | idevicebackup2: Add argument to enforce a full backup from device | Martin Szulecki | 1 | -2/+14 | |
2013-08-08 | idevicebackup2: Implement support for encrypted backups in Unback command | Aaron Burghardt | 1 | -1/+9 | |
Allows to specify a password for the Unback request. It is also sent in the main message, not in an options dictionary. | |||||
2013-06-30 | Fixed leaked plist uint which is passed to ↵ | Aaron Burghardt | 1 | -1/+3 | |
mobilebackup2_send_status_response(). | |||||
2013-06-30 | Fixed multiple occurrences of memory leaks when empty plist dicts are passed ↵ | Aaron Burghardt | 1 | -5/+13 | |
to mobilebackup2_send_status_response(). | |||||
2013-06-30 | Fixed leaked lockdowns client object in do_post_notification(). | Aaron Burghardt | 1 | -0/+1 | |
2013-06-30 | Fixed memory leak in mb2_status_check_snapshot_state() by freeing the string ↵ | Aaron Burghardt | 1 | -0/+1 | |
returned from plist_get_string_val(). | |||||
2013-06-30 | Fixed memory leak by creating empty plist dict for iTunes settings only when ↵ | Aaron Burghardt | 1 | -2/+2 | |
it can’t be retrieved from the lockdown connection. That mimics the leaking implementation, but maybe it should be an error. | |||||
2013-05-23 | Silence compiler warnings for win32 builds | Martin Szulecki | 1 | -2/+1 | |
2013-03-18 | idevicebackup2: Fix integer overflow bug on 32-bit architectures | Martin Szulecki | 1 | -1/+1 | |