summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-09-05Don't crash if $HOME is emptyGravatar Bastien Nocera1-1/+22
If both $XDG_CONFIG_HOME and $HOME are unset, we'd try to copy a NULL string, causing a crash. This is the environment systemd provides to its daemons, and that was causing upowerd to crash. http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/273-patch-fix-segfault-when-running-with-home-unset#ticket-273-2 http://libiphone.lighthouseapp.com/projects/27916/tickets/265-userpref_get_config_dir-segfaults-when-home-is-undefined https://bugzilla.redhat.com/show_bug.cgi?id=834359
2012-06-26property_list_service: do not strip non-ASCII characters from XML plistsGravatar Christophe Fergeau1-1/+1
'content' is declared as char content[] so if char is signed, all characters with the high bit set will be negative so they will be < 0x20. This means the code will strip all non-ASCII (multi-byte) UTF-8 characters and replace them with spaces. This commit fixes it now by really only considering ASCII characters.
2012-04-18idevice: fix openssl initialization and handle error to avoid crashGravatar Nikias Bassen1-4/+11
2012-04-08idevice: Bump libusbmuxd dependency to 1.0.8 and adopt idevice.c to API changesGravatar Martin Szulecki1-4/+4
2012-04-07sbservices: Implement retrieving interface orientation from deviceGravatar Martin Szulecki1-0/+46
2012-04-06restore: initialize uninitialized struct member infoGravatar Nikias Bassen1-0/+1
2012-04-01lockdown: Correct a few wrong comments showing NP_E_* error messagesGravatar Martin Szulecki1-7/+9
2012-04-01file_relay: Remove duplicated error code definitionsGravatar Martin Szulecki1-9/+0
2012-03-22Mass replace UUID by UDID, which is the correct term for itGravatar Martin Szulecki9-67/+68
2012-03-19fix invalid characters in xml plistsGravatar Nikias Bassen1-2/+2
2012-03-19use binary mode for fopen to make it work with win32Gravatar Nikias Bassen1-1/+1
2012-03-19Add more debug output to userprefsGravatar Nikias Bassen2-12/+48
2012-03-19Fix broken debug_info usageGravatar Nikias Bassen1-2/+2
2012-03-19userprefs: fix 0x0d,0x0a config file parsing on win32Gravatar Nikias Bassen1-5/+11
2012-03-19Fix uninitialized variableGravatar Nikias Bassen1-1/+1
2012-03-19Fixed userprefs read/write on win32Gravatar Nikias Bassen1-3/+3
2012-03-19Do not write config every time (still using old format)Gravatar Nikias Bassen1-0/+2
2012-03-19free bio after using itGravatar Nikias Bassen1-1/+3
2012-03-19userpref.h: include stdint.hGravatar Nikias Bassen1-0/+2
2012-03-19Add OpenSSL supportGravatar Nikias Bassen7-54/+547
2012-03-19New file for be*/le* macros plus check for endian.h presenceGravatar Nikias Bassen3-0/+3
2012-03-19Remove asprintf.h from src/Gravatar Nikias Bassen1-33/+0
2012-03-19Refined asprintf/vasprintf detection and inclusionGravatar Nikias Bassen3-9/+15
2012-03-19Fix building on OSXGravatar Martin Szulecki2-0/+4
2012-03-19[Win32] src/notification_proxy.c: add sleep() definitionGravatar Nikias Bassen1-0/+4
2012-03-19Add asprintf replacement for systems lacking itGravatar Nikias Bassen3-0/+28
2012-03-19WIN32: mkdir takes only one argumentGravatar Nikias Bassen1-1/+10
2012-03-19WIN32: use windows threads and mutexes instead of pthread_*Gravatar Nikias Bassen10-1/+161
2012-03-19Remove orphan arpa/inet.h includeGravatar Nikias Bassen1-1/+0
2012-03-18Include config.h if HAVE_CONFIG_HGravatar Nikias Bassen2-0/+6
2012-03-18Completely remove glib dependency.Gravatar Nikias Bassen12-133/+460
2012-03-18Remove gthread dependency and use pthreads insteadGravatar Nikias Bassen10-80/+44
2012-03-08restored: Add restored_query_value() to query for values in restore modeGravatar Martin Szulecki1-0/+51
2012-01-15added mobilebackup2_send_message to public apiGravatar Nikias Bassen1-3/+3
2012-01-12idevice: 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-01-11restored: allow passing options to restored_start_restore()Gravatar Nikias Bassen1-2/+7
2011-11-21lockdown: iOS 5: handle 'Error' key in lockdown_check_resultGravatar Nikias Bassen1-1/+15
2011-10-19Fix memory leak in idevice_device_list_freeGravatar Peter Hoepfner1-1/+2
2011-06-09lockdown: move writing of device uuid to client struct inside ↵Gravatar Nikias Bassen1-7/+6
lockdownd_client_new() ... instead of in lockdownd_client_new_with_handshake(). This way the device UUID is also available when only using a non-paired connection (e.g. when using the idevicepair tool).
2011-06-07lockdown: fix support for iOS 5Gravatar Nikias Bassen1-1/+3
2011-05-27notification_proxy: use free() instead of g_free()Gravatar Nikias Bassen1-1/+3
2011-04-30Remove 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.
2011-04-28device_link_service: Allow passing a reason message upon disconnectingGravatar Martin Szulecki6-6/+11
2011-04-28idevicebackup2: Improve disconnect behavior to cleanly disconnect from agentGravatar Martin Szulecki1-1/+0
2011-04-27mobilebackup2: Finish mobilebackup2_version_exchange() and use it in ↵Gravatar Martin Szulecki1-15/+19
idevicebackup2
2011-04-11mobilebackup2: Add missing function documentationGravatar Nikias Bassen1-4/+70
2011-04-11mobilebackup2: small api changesGravatar Nikias Bassen1-5/+21
2011-04-11Add initial mobilebackup2 support and idevicebackup4 toolGravatar Nikias Bassen3-0/+428
2011-03-31userpref: 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.
2011-03-31debug: 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.