libftdi Archives

Subject: Calls to libusb_bulk_transfer() don't check for LIBUSB_ERROR_TIMEOUT

From: Kyle Schwarz <kschwarz@xxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 28 Aug 2020 14:52:44 -0400
In ftdi.c there are calls to libusb_bulk_transfer(), but they don't check for a possible LIBUSB_ERROR_TIMEOUT.

A LIBUSB_ERROR_TIMEOUT isn't technically an error and shouldn't be handled as such.

The docs for libusb describe this fairly well, but let me know if more information is needed to fix this.


libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Current Thread