Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scpi_usbtmc_libusb: Check that bulk in requests read the entire header
The Rigol DS1054Z sometimes returns zero bytes in response to a bulk in request. sigrok ends up reading out of bounds and failing ungracefully when this happens. Check that libusb returned a full USBTMC header and fail gracefully if it did not.
- Loading branch information