diff options
| author | 2010-01-23 23:09:43 +0100 | |
|---|---|---|
| committer | 2010-01-24 00:20:01 +0100 | |
| commit | c0b02222fd85feabb0b9901364082dc6ab484b68 (patch) | |
| tree | e465e0a29a24431c67feb35529912214f8d1308f /daemon/device.h | |
| parent | 68729a347011a8fb39f1e4aa35ae06c4f2f491d4 (diff) | |
| download | usbmuxd-c0b02222fd85feabb0b9901364082dc6ab484b68.tar.gz usbmuxd-c0b02222fd85feabb0b9901364082dc6ab484b68.tar.bz2 | |
Clean up packet size types and add some paranoia
None of this should fix an exploit, it's just healthy paranoia.
Diffstat (limited to 'daemon/device.h')
| -rw-r--r-- | daemon/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/device.h b/daemon/device.h index 4bf9752..ea77069 100644 --- a/daemon/device.h +++ b/daemon/device.h | |||
| @@ -31,7 +31,7 @@ struct device_info { | |||
| 31 | uint16_t pid; | 31 | uint16_t pid; |
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | void device_data_input(struct usb_device *dev, unsigned char *buf, int length); | 34 | void device_data_input(struct usb_device *dev, unsigned char *buf, uint32_t length); |
| 35 | 35 | ||
| 36 | int device_add(struct usb_device *dev); | 36 | int device_add(struct usb_device *dev); |
| 37 | void device_remove(struct usb_device *dev); | 37 | void device_remove(struct usb_device *dev); |
