[PATCH] staging: comedi: check validity of wMaxPacketSize of usb endpoints found
gregkh at linuxfoundation.org
Sat Oct 10 07:00:08 UTC 2020
On Fri, Oct 09, 2020 at 09:50:29PM +0530, Anant Thazhemadam wrote:
> While finding usb endpoints in vmk80xx_find_usb_endpoints(), check if
> wMaxPacketSize = 0 for the endpoints found.
> Some devices have isochronous endpoints that have wMaxPacketSize = 0
> (as required by the USB-2 spec).
> However, since this doesn't apply here, wMaxPacketSize = 0 can be
> considered to be invalid.
> Reported-by: syzbot+009f546aa1370056b1c2 at syzkaller.appspotmail.com
> Tested-by: syzbot+009f546aa1370056b1c2 at syzkaller.appspotmail.com
> Signed-off-by: Anant Thazhemadam <anant.thazhemadam at gmail.com>
You sent 2 patches with the same subject, which one is the "latest" one?
Please always version your patches and put below the --- line what
changed from the previous version, so that maintainers have a chance to
know which to accept...
Can you fix this up and send a v3?
More information about the devel