Commit Graph

112 Commits

Author SHA1 Message Date
Jonathan Beck 86f6198899 make all functions return an error code. 2008-08-31 19:33:19 +02:00
Jonathan Beck dc89741f00 do no return custom code in ifuse_getattr 2008-08-31 19:33:19 +02:00
Jonathan Beck 036cfaf4f2 fix iphone_lck_new_client 2008-08-31 19:33:19 +02:00
Jonathan Beck 572113d68e ifuse.c only includes libiphonoe.h 2008-08-31 19:33:19 +02:00
Jonathan Beck e52da6fe75 make it compile 2008-08-31 19:33:18 +02:00
Jonathan Beck 6ac4ceb4c6 migrate main.c 2008-08-31 19:32:27 +02:00
Jonathan Beck c042f7ca27 migrate AFC.c 2008-08-31 19:27:20 +02:00
Jonathan Beck 65f66a7212 finish lockdown.c migration 2008-08-31 19:27:20 +02:00
Jonathan Beck ad65cefa1c migrate usbmux.c. 2008-08-31 19:27:20 +02:00
Jonathan Beck 21d5d4ac4b migrate lockdown.c 2008-08-31 19:27:20 +02:00
Jonathan Beck 8905063143 migrate iphone.c 2008-08-31 19:27:20 +02:00
Jonathan Beck a8409b6f5a more libraryzing 2008-08-31 19:27:19 +02:00
Jonathan Beck 143a48bd42 use non anonymous structs so we can use opaque type on them 2008-08-31 19:27:19 +02:00
Jonathan Beck bbc6306a24 fix some warnings 2008-08-31 19:27:19 +02:00
Jonathan Beck e1b22c51ed first shot at setting up a library 2008-08-31 19:27:19 +02:00
Paul Sladen de4b279089 Fixed permissions on directories.
Signed-off-by: Matt Colyer <matt@colyer.name>
2008-08-30 09:03:16 -07:00
Martin S 6c715f8fe3 Added libtasn1 verification to the build process. 2008-08-30 08:44:01 -07:00
Jonathan Beck 7539f5fbf4 Handle known device through their UniqueDeviceID and use it as name to store PEM device public key. 2008-08-22 18:32:20 +02:00
Jonathan Beck 6b706ced7b add get_device_uid function
Conflicts:
2008-08-21 21:34:59 +02:00
Jonathan Beck bb496ff039 remove duplicate free 2008-08-21 19:48:20 +02:00
Jonathan Beck 842db4ebce fixes duplicates free 2008-08-21 19:38:33 +02:00
JonathanBeck e87e41bb24 arrays of string are now NULL terminated, update for loop end condition.
free these arrays when needed.
2008-08-21 19:15:38 +02:00
Jonathan Beck efe860d7c6 close usb device before reopening it. 2008-08-21 19:15:38 +02:00
Jonathan Beck d5e52dbdfd fix AFC memory leak and errors (from iphoneclient valgrind analysis). 2008-08-21 19:13:35 +02:00
Jonathan Beck 89f0fd84b2 fix ssl_session memory leak. 2008-08-21 19:13:35 +02:00
Jonathan Beck ef6206f515 use NULL at end of dictionary values (fixes a memory leak). 2008-08-21 19:13:35 +02:00
Jonathan Beck ab38ab2ec7 fixes config dir mode. 2008-08-21 19:13:35 +02:00
Jonathan Beck 3f37575f65 fix linking of libiphone-initconf. 2008-08-21 19:11:16 +02:00
Jonathan Beck b2ee9d8b0c Merge master into fixes. 2008-08-21 19:10:17 +02:00
Christophe Fergeau ae11cc812e Don't leak "response" in mux_connect 2008-08-21 19:01:35 +02:00
Jonathan Beck f526a360da free file after requesting info 2008-08-21 19:01:35 +02:00
Christophe Fergeau e9e663d597 Don't leak r_packet in receive_AFC_data in the "false alarm" case 2008-08-21 19:00:31 +02:00
Christophe Fergeau 216c9e8089 g_io_channel_unref must be called after g_io_channel_shutdown 2008-08-21 18:58:17 +02:00
Jonathan Beck cb4f79a28c use gnutls function to free SSL session structure. 2008-08-21 18:58:17 +02:00
Christophe Fergeau 0496edd886 Don't leak "version" in get_iPhone 2008-08-21 18:58:17 +02:00
Christophe Fergeau 877fd5089a Fix leak in dispatch_AFC_packet 2008-08-21 18:51:02 +02:00
Jonathan Beck 09e5d87069 fix missing free in dispatch_AFC_packet 2008-08-21 18:49:51 +02:00
Christophe Fergeau a885ca9dbe Don't leak memory in error cases in ifuse_init 2008-08-21 18:47:04 +02:00
Jonathan Beck e5e5f21cae fix some memory leaks 2008-08-21 18:47:04 +02:00
Jonathan Beck 94eca7874e fixes depth check in format_string (can be 0) 2008-08-21 18:43:02 +02:00
Jonathan Beck 460c091cd4 fixes lockdownd_init so it actually starts SSL session 2008-08-21 18:42:01 +02:00
Matt Colyer aecf8d985e Removed duplicate functions in initconf and fixed build issues. 2008-08-20 09:31:32 -07:00
Matt Colyer c8cf91eec5 Added doxygen to lockdown.c 2008-08-20 09:17:05 -07:00
Matt Colyer 24718e493b Made files owned to the user and group which started iFuse (we don't want to use the groups and users used on the iPhone) 2008-08-19 23:41:25 -07:00
Matt Colyer a55c3e762b Put some very elementary error checking to ensure that initconf has been run. 2008-08-19 09:48:24 -07:00
Matt Colyer bc68ec7c3b Cleaned up the status message in initconf. 2008-08-18 09:06:56 -07:00
Matt Colyer 0a50a87d68 Fixed bogus file permissions on the configuration directory. 2008-08-18 09:06:34 -07:00
Matt Colyer bc6f309b2b Exposed file block information in iFuse. 2008-08-18 08:55:44 -07:00
Matt Colyer 951d5ca00c Removed USB reset, as it wasn't really necesary. 2008-08-18 08:43:00 -07:00
Matt Colyer 8e82524e55 Enhance the usability of initconf, by giving more feedback to the user. 2008-08-17 09:00:10 -07:00