Re: [PATCH 3/7] staging: most: usb: check number of reported endpoints

2020-05-14 Thread Christian.Gromm
On Thu, 2020-05-14 at 16:06 +0200, Greg KH wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > On Thu, May 14, 2020 at 03:46:25PM +0200, Christian Gromm wrote: > > This patch checks the number of endpoints reported by the USB > > interface desc

Re: [PATCH 3/7] staging: most: usb: check number of reported endpoints

2020-05-14 Thread Greg KH
On Thu, May 14, 2020 at 03:46:25PM +0200, Christian Gromm wrote: > This patch checks the number of endpoints reported by the USB > interface descriptor and throws an error if the number exceeds > MAX_NUM_ENDPOINTS. > > Signed-off-by: Christian Gromm > Reported-by: Greg Kroah-Hartman > --- > dri

[PATCH 3/7] staging: most: usb: check number of reported endpoints

2020-05-14 Thread Christian Gromm
This patch checks the number of endpoints reported by the USB interface descriptor and throws an error if the number exceeds MAX_NUM_ENDPOINTS. Signed-off-by: Christian Gromm Reported-by: Greg Kroah-Hartman --- drivers/staging/most/usb/usb.c | 13 ++--- 1 file changed, 6 insertions(+),