Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-08 | Propagate lower level errors to callers instead of returning unknown | BALATON Zoltan | 4 | -40/+46 | |
error for most failures | |||||
2017-01-18 | property_list_service: Remove packet length check when receiving plist data | Antoine Reversat | 1 | -46/+43 | |
There are services that would send really large plist data, e.g. when listing provisioning profiles. Instead of forcing the data to be less than 16MB we try to allocate a buffer as large as requested. If the allocation fails the function returns with an error. | |||||
2017-01-04 | ideviceprovision: Silence compiler warning (missing parenthesis) | Nikias Bassen | 1 | -1/+1 | |
2016-12-31 | Add ax_pthread.m4 for proper pthread cflags/ldflags | Nikias Bassen | 3 | -12/+495 | |
2016-12-22 | ideviceprovision: Fix ASN1 parsing for large provisioning profiles | Nikias Bassen | 1 | -12/+35 | |
2016-12-21 | cython: Make sure to pass correct CFLAGS for libplist | Nikias Bassen | 1 | -1/+1 | |
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-12-15 | ideviceprovision: Add new remove-all command to remove all installed ↵ | Nikias Bassen | 1 | -4/+61 | |
profiles at once | |||||
2016-12-01 | ideviceprovision: Allow copying single profiles instead of all | Nikias Bassen | 1 | -6/+32 | |
2016-12-01 | ideviceprovision: Check output directory parameter for 'copy' command and ↵ | Nikias Bassen | 1 | -9/+13 | |
return exit code on error | |||||
2016-12-01 | ideviceprovision: Use newer API to get list of profiles on iOS 9.3+ | Nikias Bassen | 1 | -2/+30 | |
2016-12-01 | misagent: Add new misagent_copy_all() function (introduced in iOS 9.3) | Nikias Bassen | 2 | -1/+63 | |
2016-11-27 | idevicebackup2: Plug some small memory leaks | Nikias Bassen | 1 | -8/+8 | |
2016-11-04 | userpref: [GnuTLS] Fix pairing record generation and improve error handling | Nikias Bassen | 1 | -40/+45 | |
In newer GnuTLS versions the parameters supplied to gnutls_x509_privkey_import_rsa_raw() are actually checked for somewhat sane values. Since we were passing the same values for all parameters, this check fails and the device certificate is never generated. However due to missing checks the pairing record was saved anyway, with an empty device certificate. This led to TLS errors during communication, leading to the "GnuTLS: Error in pull function" error message appearing and the communication to fail. This commit fixes the issue by passing some sane values, and also improves the overall error handling during generation of the paring record. | |||||
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 | win32: Fix MinGW build by adding -lgdi32 to properly link against OpenSSL | Nikias Bassen | 1 | -1/+1 | |
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-08-09 | lockdown: return LOCKDOWN_E_INVALID_HOST_ID when missing pair record | Jay Freeman (saurik) | 1 | -1/+1 | |
When the check of /var/db/lockdown was removed, lockdownd_do_pair started to always return LOCKDOWN_E_INVALID_CONF instead of usually (but not always...) returning LOCKDOWN_E_INVALID_HOST_ID for devices not currently paired. This change not only breaks some third-party code, but also breaks the other code in this library calling this function (lockdownd_client_new_with_handshake). | |||||
2016-08-02 | idevice: Update GnuTLS code to support iOS 10 | Jay Freeman (saurik) | 1 | -1/+1 | |
As of iOS 10 beta 4, the GnuTLS implementation idevice_connection_enable_ssl needs to be updated to support TLS. Using +VERS-TLS-ALL did not work on some of the devices I tested and I wasn't sure how to fix it, but +VERS-TLS1.0 is working on every device I've tested: iOS 9.0.2, 10.0b4, 8.1.1, 6.0, and 3.0. | |||||
2016-07-27 | userpref: Remove obsoleted function userpref_has_pair_record() | Jay Freeman (saurik) | 1 | -29/+0 | |
Since pair records are meanwhile handled by usbmuxd there is no need to check for the existence of a pair record on disk. Asking usbmuxd for a pair record of a given UDID is sufficient to know if it exists or not. | |||||
2016-07-27 | lockdown: remove unnecessary check for pair record file during pairing | Jay Freeman (saurik) | 1 | -7/+3 | |
During device pairing the code in lockdownd_do_pair() is checking if there is a pair record on disk for the current device, and then requests it from usbmuxd. This additional check is not only unnecessary since usbmuxd can obviously only return a pair record if it exists, but is also causing issues on newer versions of macOS where /var/db/lockdown is mode 700. | |||||
2016-06-16 | Fix SSL version negotiation for newer versions of OpenSSL | David Weinstein | 1 | -1/+1 | |
Depending on the OpenSSL version (and custom distribution patches), `SSLv3_method()` would return NULL on some systems and also `SSLv23_method()` fails with some older iOS versions... | |||||
2016-06-16 | Revert "Fix SSL version negotiation with newer versions of OpenSSL" | Nikias Bassen | 1 | -1/+1 | |
This reverts commit 6ce120c168b0f0a0146e505649864b5b07dc5093. The change had the negative effect that connecting to older iOS devices wouldn't work anymore. | |||||
2016-06-15 | Fix SSL version negotiation with newer versions of OpenSSL | Nikias Bassen | 1 | -1/+1 | |
2016-04-29 | Updated gnutls certificate callback to new API (backwards compatible) | Nikos Mavrogiannopoulos | 1 | -0/+13 | |
2016-04-29 | configure.ac: Only check for pthread support on non-win32 platforms | Arty Gus | 1 | -1/+4 | |
2016-04-29 | Updated .gitignore | Nikias Bassen | 1 | -7/+2 | |
2016-04-29 | configure.ac: Don't always explicitly disable openssl | Kylie McClain | 1 | -1/+1 | |
2016-04-29 | file_relay: Plug small memory leak | Xiao Deng | 1 | -0/+1 | |
2016-04-29 | diagnostics_relay: Plug small memory leak | Xiao Deng | 1 | -0/+1 | |
2016-04-29 | idevicedebug: Show error if container info not found | Matthias Ringwald | 1 | -10/+8 | |
2016-04-01 | Add new function to get the underlying file descriptor of an idevice connection | BALATON Zoltan | 2 | -0/+26 | |
2016-04-01 | Avoid potential NULL pointer dereference (leading to segfault) if functions ↵ | BALATON Zoltan | 2 | -6/+10 | |
are called with NULL arguments | |||||
2016-04-01 | idevicebackup: fix some timestamps that are relative to the Mac epoch ↵ | BALATON Zoltan | 3 | -5/+8 | |
instead of Unix one | |||||
2015-12-29 | common: [security fix] Make sure sockets only listen locally | Joshua Hill | 1 | -2/+2 | |
2015-12-22 | tools: idevicecrashreport: Fix missing 0-term when creating local filename | Nikias Bassen | 1 | -1/+3 | |
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. | |||||
2015-12-18 | tools: idevicecrashreport: Propertly initialize buffer used to check for ↵ | Nikias Bassen | 1 | -0/+1 | |
ping message | |||||
2015-12-18 | tools: Fix inverted abort condition in idevicecrashreport | Nikias Bassen | 1 | -1/+1 | |
This bug caused it to never wait for the 'ping' message from the crashreportmover service | |||||
2015-10-21 | Fix installation_proxy when using GnuTLS instead of OpenSSL | Jay Freeman (saurik) | 1 | -4/+4 | |
2015-10-09 | common: Add missing gnutls/openssl CFLAGS to Makefile.am | Nikias Bassen | 1 | -1/+1 | |
2015-10-06 | tools: Use PACKAGE_URL define for homepage project links in usage output | Martin Szulecki | 17 | -17/+82 | |
2015-10-06 | Add missing "(void)" to functions to match public headers | Martin Szulecki | 3 | -3/+3 | |
2015-07-15 | lockdown: Add new lockdownd_pair_with_options() function | Nikias Bassen | 2 | -9/+47 | |
2015-07-10 | lockdown: Add more error codes | Nikias Bassen | 3 | -1/+21 | |