On Wed, 18 Sep 2019 14:01:46 +0200, Bjørn Mork wrote: > Endpoints with zero wMaxPacketSize are not usable for transferring > data. Ignore such endpoints when looking for valid in, out and > status pipes, to make the driver more robust against invalid and > meaningless descriptors. > > The wMaxPacketSize of the out pipe is used as divisor. So this change > fixes a divide-by-zero bug. > > Reported-by: syzbot+ce366e2b8296e25d84f5@xxxxxxxxxxxxxxxxxxxxxxxxx > Signed-off-by: Bjørn Mork <bjorn@xxxxxxx> Applied, queued, thank you!