Hello!

The current git version of libftdi contains a critical bug in ftdi_read_data. If a read from the device returns more data than requested the function exits with error -127 (documented as "// never reached") instead of a correct return code.

The attached patch fixes this problem.

Hermann

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Attachment: read_data.diff
Description: Binary data

Reply via email to