summaryrefslogtreecommitdiffstats
path: root/daemon/device.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-11Fix aborts due to transmit window overflowGravatar Hector Martin1-1/+6
c0b02222 made conn->sendable unsigned. If the device reduces the window after we've sent too much data already, it can become negative, overflow, and cause connection aborts when we send too much data. Fix this by checking for this condition and setting conn->sendable to 0. Thanks to Thomas Jost and Nikias Bassen for debugging this issue.
2010-02-07Remove silly null statementv1.0.2Gravatar Hector Martin1-1/+1
2010-02-01Don't crash on TCP junk during device initGravatar Hector Martin1-3/+9
2010-01-24Clean up packet size types and add some paranoiaGravatar Hector Martin1-12/+26
None of this should fix an exploit, it's just healthy paranoia.
2010-01-24Security fix: check cumulative packet size for split device packetsGravatar Hector Martin1-0/+5
2009-10-25Add missing license headers and make them consistentGravatar Hector Martin1-1/+1
2009-10-12Downgrade "no connection for packet" message loglevel tooGravatar Hector Martin1-1/+1
Also happens after connection is closed by the host and the like, to be expected.
2009-08-25Renamed directory 'usbmuxd' to more suitable 'daemon'.Gravatar Nikias Bassen1-0/+751