summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-03-22fix invalid characters in xml plistsGravatar Nikias Bassen1-2/+2
2012-03-22idevice: add error checking to internal_ssl_write()Gravatar Geoff Paul1-1/+5
Returning 0 bytes sent upon error causes an infinite loop within the calling gnutls code. Returning -1 as an error code allows gnutls to properly detect and recover.
2012-03-22lockdown: iOS 5: handle 'Error' key in lockdown_check_resultGravatar Nikias Bassen1-1/+15
2012-03-22Fix memory leak in idevice_device_list_freeGravatar Peter Hoepfner1-1/+2
2012-03-22lockdown: fix support for iOS 5Gravatar Nikias Bassen1-1/+3
2012-03-22notification_proxy: use free() instead of g_free()Gravatar Nikias Bassen1-1/+3
2012-03-22Remove deprecated gnutls_*_set_priority() and use gnutls_priority_set_direct()Gravatar Martin Szulecki1-13/+1
This change requires gnutls >= 2.2.0 for the latter to be available. With deprecation starts with gnutls 2.12.0.
2012-03-22userpref: Fix a segfault that might occour if locally stored certs could not ↵Gravatar Martin Szulecki1-2/+4
be read userpref_get_file_contents() was stil attempting to set the data and size properties on the passed gnutls_datum_t even if g_file_get_contents() failed. This shoud fix a possible segfault in any code code using the pairing.
2012-03-22debug: Use explicit size for string when debugging non-null terminatedGravatar Martin Szulecki1-1/+1
The debug code to output the device public key was not taking into account that the key data is not null terminated.
2011-03-26Due to a bug in iOS 4.3, plist data might contain invalid null charactersGravatar Martin Szulecki1-0/+5
The main lockdown plist of iOS 4.3 contains invalid null characters which we now convert to spaces. Fixes running ideviceinfo on iOS 4.3. Thanks to teuf for debugging and proposing the fix.
2011-03-26Wrap debug_print_line in #ifndef STRIP_DEBUG_CODEGravatar Christophe Fergeau1-0/+2
This function is only called when STRIP_DEBUG_CODE isn't defined, so build is broken with -Wmissing-prototypes -Werror if it's not wrapped in #ifndef
2011-03-26notification_proxy: read ProxyDeath message after posting notificationGravatar Nikias Bassen1-0/+21
This prevents ugly error messages appearing in the device's syslog.
2010-11-27Add a safety check in lockdownd_client_new_with_handshake() to fix a ↵Gravatar Martin Szulecki1-1/+4
possible crash
2010-11-27Make sure uuid argument of idevice_get_uuid() is setGravatar Martin Szulecki1-1/+1
2010-11-27Fix iOS 4.2 GnuTLS issue by passing a certificate in the handshakeGravatar Nikias Bassen2-3/+54
2010-10-04afc: fix reading of afc status codes on big endian machinesGravatar Nikias Bassen1-1/+1
2010-10-04afc: fix packet communication on big endian machinesGravatar Marty Rosenberg1-0/+2
2010-10-04device_link_service: removed unused local variableGravatar Nikias Bassen1-2/+1
2010-10-04property_list_service: fix plist receiving on big endian machinesGravatar Nikias Bassen1-2/+2
2010-06-20Expose more userpref functions for use in the new idevicepair toolGravatar Martin Szulecki1-2/+2
2010-06-20userpref: new internal function userpref_get_paired_uuidsGravatar Nikias Bassen2-0/+61
2010-06-06lockdown: correctly handle activation_record parameter in lockdownd_activateGravatar Nikias Bassen1-1/+1
The activation_record was inserted into the request plist and freed at the end. If the user app then uses plist_free to free the activation record, it gets an invalid free. By using plist_copy the activation_record is not touched.
2010-06-06Add special handling for unpair request; probably a bug in the iPhone OSGravatar Martin Szulecki1-4/+13
2010-06-06Silence 64bit compiler warnings using proper castsGravatar Nikias Bassen1-8/+8
2010-06-04Document that lockdownd automatically drops the connection when idleGravatar Martin Szulecki1-0/+7
2010-06-04Document user_data parameter in installation_proxy interfaceGravatar Martin Szulecki1-0/+9
2010-05-13Plug some memory leaks in lockdownd due to missing free() callsGravatar Bryan Forbes1-1/+4
2010-05-13Actually free the client in the _free() call.Gravatar Bryan Forbes1-0/+1
2010-04-11Fix memory leak and actually set the label supplied for new lockdown clientsGravatar Martin Szulecki1-1/+1
2010-04-11plug memory leak in lockdownd_gen_pair_cert()Gravatar Petr Uzel1-0/+3
2010-04-11plug memory leak in lockdownd_gen_pair_cert()Gravatar Petr Uzel1-0/+10
2010-04-11plug memory leaks in generate_pair_record_plist()Gravatar Petr Uzel1-0/+7
2010-03-25Use insert_item instead of set_item to make adding client options workGravatar Nikias Bassen1-3/+3
2010-03-24Use glib GUINT32_TO/FROM_BE macros instead of htonl/ntohlGravatar Martin Szulecki1-3/+3
2010-03-24Remove unused and fix some includesGravatar Nikias Bassen14-20/+2
2010-03-16Complete documentation of public interface and fix a lot of bogus commentsGravatar Martin Szulecki10-232/+416
This change unifies the documentation comment syntax, fixes a few bad documentation comments and completes documentation where it was missing.
2010-03-16Unify NP callback userdata parameter to user_data for consistencyGravatar Martin Szulecki1-6/+6
2010-03-16Document internal make_strings_list() and change parameter namesGravatar Martin Szulecki1-3/+13
2010-03-16Rename afc invalid argument error to AFC_E_INVALID_ARGGravatar Martin Szulecki1-37/+32
All other services use *_E_INVALID_ARG instead of *_E_INVALID_ARGUMENT, thus the afc interface should use the common name.
2010-03-16Rename the *_int to *_private for better semantic and fix public typedefsGravatar Martin Szulecki26-34/+33
This changes the typedef logic slightly for the public headers in order for doxygen to correctly pickup and enable the client struct documentation.
2010-03-16mobilebackup: new functions addedGravatar Nikias Bassen1-0/+150
2010-03-15Add device_link_service_send_ping function.Gravatar Nikias Bassen2-0/+29
2010-03-15device_link_service: process_message functions renamed using send/receiveGravatar Nikias Bassen3-6/+6
2010-03-15Removed obsolete AFCToken structGravatar Nikias Bassen1-5/+0
2010-03-08Add user data parameter to notification callback functionGravatar Nikias Bassen1-2/+6
[#114 state:resolved]
2010-03-08sbservices: docs updatedGravatar Nikias Bassen2-10/+13
2010-03-08file_relay: docs updatedGravatar Nikias Bassen2-6/+7
2010-03-08installation_proxy: docs updatedGravatar Nikias Bassen2-8/+11
2010-03-08notification_proxy: docs updatedGravatar Nikias Bassen2-13/+21
2010-03-08screenshotr: docs updatedGravatar Nikias Bassen2-5/+9