Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-27 | idevice: Rename generic errorstring() into ssl_error_to_string() | Martin Szulecki | 1 | -2/+2 | |
2015-01-13 | thread: Introduce thread_new and thread_free to cover handle leaks on WIN32 | Martin Szulecki | 3 | -5/+16 | |
2015-01-12 | lockdown: Refactor internal error checking and add more native errors to enum | Martin Szulecki | 1 | -82/+123 | |
2015-01-12 | Fix overlong blocking in np_client_free() | Christophe Fergeau | 1 | -3/+7 | |
When using ideviceinstaller, np_client_free() would block for several minutes when ideviceinstaller cleans up after installing the application. This happens because the function is blocking on thread_join(), waiting for the notification watcher thread to finish. It only ends when np_get_notification() returns a negative value after getting a timeout, which takes several minutes. However, the thread loop will also exit early if client->parent gets NULL (the loop is iterated every 500ms), so this commit ensures client->parent gets set to NULL early in np_client_free() so that thread_join() does not block for a long time. Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org> | |||||
2014-12-10 | lockdown: Add new LOCKDOWN_E_SERVICE_LIMIT error to detect service limit states | Martin Szulecki | 1 | -0/+2 | |
2014-12-09 | debugserver: Return enum error type instead of int for type consistency | Martin Szulecki | 1 | -1/+1 | |
2014-12-09 | debugserver: Remove const argv requirement for creating commands | Martin Szulecki | 1 | -2/+5 | |
2014-11-11 | notification_proxy: Send Shutdown command in np_client_free() instead of ↵ | Nikias Bassen | 1 | -33/+34 | |
np_post_notification() | |||||
2014-10-27 | debug: Fix linking failure on OS X by keeping debug level symbol internal | Martin Szulecki | 2 | -3/+1 | |
This change keeps the debug level symbol within the internal convenience library and makes it accessible using an internal helper. This fixes linking, prevents new exported symbols and finally allows proper control of enabling debug messages. | |||||
2014-10-26 | debug: Fix symbol locality for linker so debug messages are printed again | Martin Szulecki | 2 | -1/+8 | |
2014-10-26 | Remove obsolete prefix from debug messages in internal locking helpers | Martin Szulecki | 3 | -6/+6 | |
2014-10-26 | lockdown: Fix error in re-pairing when previous record became invalid | BALATON Zoltan | 1 | -9/+5 | |
When connecting with an existing pair record failed we attempted to pair again which generated a new host id but then connect after successful pairing tried to use host id from the old record and failed. Make sure we forget the old host id when re-pairing. This also fixes a possible memory leak. | |||||
2014-10-09 | debugserver: Fix wrong service_error_t return type in debugserver_client_send() | Martin Szulecki | 1 | -1/+1 | |
2014-10-07 | idevice: Fix compilation with OpenSSL before 1.0.0-beta1 | Martin Szulecki | 1 | -0/+12 | |
2014-10-05 | Convert int16_t macro error types into enum to improve debugging/type-checking | Martin Szulecki | 5 | -11/+15 | |
This simple change provides various benefits for developers like compile time errors, better auto-completition in editors and the ability of a debugger to show the constant instead of just the raw value. Thanks to Aaron Burghardt for the proposal. | |||||
2014-10-03 | mobilesync: Fix crash in mobilesync_recive_changes() due to typo | Martin Szulecki | 1 | -1/+1 | |
2014-10-03 | debugserver: Fix compiler warning about missing braces | Martin Szulecki | 1 | -2/+4 | |
2014-10-03 | Avoid exporting non-public symbols | Martin Szulecki | 23 | -242/+249 | |
2014-10-02 | lockdown: Added lockdownd_start_service_with_escrow_bag | Koby Boyango | 1 | -5/+79 | |
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org> | |||||
2014-10-02 | afc: Implement afc_remove_path_and_contents() for recursive deletion | Martin Szulecki | 1 | -0/+24 | |
Only available on iOS 6 and later. | |||||
2014-10-02 | afc: Unify argument names for some functions to match overall API | Martin Szulecki | 1 | -12/+12 | |
2014-10-02 | afc: Update all currently known AFC operations in enum | Martin Szulecki | 2 | -32/+48 | |
2014-10-02 | afc: Change wrong function return types to match header | Martin Szulecki | 1 | -7/+3 | |
2014-10-01 | idevice: Fix several memory leaks on deinitialization of OpenSSL | Martin Szulecki | 1 | -8/+16 | |
2014-09-19 | Add protocol implementation for debugserver service | Martin Szulecki | 3 | -0/+662 | |
2014-09-19 | file_relay: Handle new PermissionDenied error (iOS 8 GM+) | Martin Szulecki | 1 | -0/+3 | |
2014-08-25 | afc.c: fixed leaks in various functions when an invalid argument error is ↵ | Aaron Burghardt | 1 | -12/+12 | |
returned. | |||||
2014-08-22 | afc_file_tell: fixed leak of unnecessary buffer and removed condition check ↵ | Aaron Burghardt | 1 | -3/+2 | |
before free. | |||||
2014-08-22 | afc_file_open: fixed memory leak when the object is not found or arguments ↵ | Aaron Burghardt | 1 | -3/+6 | |
are invalid. | |||||
2014-08-06 | lockdown: Only set SystemBUID in pair_record_generate() if it actually ↵ | Nikias Bassen | 1 | -1/+2 | |
contains a value This will prevent a crash in libplist when plist_new_string() will be called with a NULL pointer. | |||||
2014-08-06 | lockdown: Silence compiler warning about ignored return value from asprintf() | Nikias Bassen | 1 | -8/+10 | |
2014-06-13 | mobile_image_mounter: Change upload method to accept optional image signature | Martin Szulecki | 1 | -4/+7 | |
2014-06-05 | idevice: win32: Use correct signature for DllMain() | Nikias Bassen | 1 | -2/+1 | |
2014-05-05 | lockdown: cleanup: remove pointless goto | Andreas Henriksson | 1 | -4/+0 | |
Minor cleanup. Drop useless code. We're already at "leave", so there's no need to (conditionally!) goto it. | |||||
2014-05-05 | lockdown: avoid crashing when getting system buid fails | Andreas Henriksson | 1 | -2/+3 | |
When userpref_read_system_buid fails to retrieve the buid, systembuid will be set to NULL. It was then unconditionally passed to plist_new_string - which will crash with a NULL argument. See https://bugs.debian.org/730756 for people reporting this happening in the real world. See https://github.com/libimobiledevice/libimobiledevice/commit/1331f6baa1799e41003aa812c0d1bf36193535ea ("lockdown: Make sure to set SystemBUID in generated pair records") for the commit where this problem was introduced. | |||||
2014-04-29 | Make property_list_service public | Nikias Bassen | 2 | -132/+1 | |
2014-03-27 | Moved Doxygen comments from source files to public headers. | Aaron Burghardt | 20 | -2478/+2 | |
Conflicts: include/libimobiledevice/afc.h | |||||
2014-03-27 | lockdown: Return error if getting a lockdown value failed to fix segfault | Martin Szulecki | 1 | -0/+2 | |
https://github.com/libimobiledevice/libimobiledevice/issues/67 The lockdownd_get_value() function is not properly handling an error situation. The code logic always returned success as long as the lockdown response was properly received. Thanks to Aaron Burghardt for spotting this. | |||||
2014-03-24 | win32: Silence compiler warning about missing previous declaration of DllMain | Nikias Bassen | 1 | -0/+5 | |
2014-03-24 | afc: Rename variable 'send' to 'buffer' to silence compiler warning about ↵ | Nikias Bassen | 1 | -21/+21 | |
shadowing a global declaration | |||||
2014-03-24 | lockdown: Prevent libplist assertion by checking result of ↵ | Nikias Bassen | 1 | -4/+10 | |
userpref_read_pair_record() | |||||
2014-03-22 | Fix make distcheck by using $(top_builddir) where needed1.1.6 | Martin Szulecki | 1 | -1/+1 | |
2014-03-22 | Update copyright in various files | Martin Szulecki | 4 | -1/+6 | |
2014-03-21 | afc: Remove segmentation code from afc_file_read() | Nikias Bassen | 1 | -51/+34 | |
2014-03-21 | lockdown: Fix starting unsecure services as needed during trust dialog pairing | Martin Szulecki | 1 | -14/+0 | |
2014-03-21 | lockdown: Fix fetching WiFi address for pair record after trust dialog pairing | Martin Szulecki | 1 | -12/+20 | |
2014-03-21 | implement global thread safe library initialization | Nikias Bassen | 1 | -9/+80 | |
2014-03-21 | lockdown: Correct a few comments within pair generation code | Martin Szulecki | 1 | -1/+2 | |
2014-03-21 | idevice: Use more common "ERROR:" syntax for error messages | Martin Szulecki | 1 | -2/+2 | |
2014-03-21 | lockdown: Move HostID generation closer to code setting it in pair record | Martin Szulecki | 1 | -2/+1 | |