From: libusb T. <tr...@li...> - 2011-09-14 07:00:24
|
#117: [PATCH] darwin_async_io_callback data truncation ---------------------------+----------------------- Reporter: rogueresearch | Owner: hjelmn Type: defect | Status: assigned Component: libusb-1.0 | Resolution: Keywords: | Blocked By: Blocks: | ---------------------------+----------------------- Comment (by stuge): The patch is not quite complete, because it will write 64 bits but only read 32 on the other end. The question is if it is better to write 64 bits and truncate into UInt32 io_size on the receiving end, or if it is better to truncated void *arg0 into an UInt32 before it gets written over the pipe. What's your take, Nathan? -- Ticket URL: <http://libusb.org/ticket/117#comment:2> libusb <http://libusb.org/> C library for writing portable USB drivers in userspace |