Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb-linux: fix calculation of on-the-wire length.
Ignore descriptors with a zero length; the only data that matters when recalculating the on-the-wire length are the ones with data, as the goal is to calculate the length of data that we would have gotten had neither usbmon nor libpcap truncated the data, and if there's no data to truncate....
- Loading branch information