Add one more usbutils fix
diff --git a/usbutils.c b/usbutils.c
index 6c6d902..a15fbc2 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -2874,7 +2874,7 @@ err_retry:
goto err_retry;
if (NODEV(err))
*transferred = 0;
- else if ((endpoint & LIBUSB_ENDPOINT_DIR_MASK) == LIBUSB_ENDPOINT_IN)
+ else if ((endpoint & LIBUSB_ENDPOINT_DIR_MASK) == LIBUSB_ENDPOINT_IN && *transferred)
cg_memcpy(data, buf, *transferred);
return err;