Patch "usb: gadget: fsl_qe_udc: off by one in setup_received_handle()" has been added to the 4.7-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
usb: gadget: fsl_qe_udc: off by one in setup_received_handle()
to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
usb-gadget-fsl_qe_udc-off-by-one-in-setup_received_handle.patch
and it can be found in the queue-4.7 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
7442e6db5bdd0dce4615205508301f9b22e502d6Mon Sep 17 00:00:00 2001
From: Dan Carpenter <[email protected]>
Date: Wed, 13 Jul 2016 13:14:33 +0300
Subject: usb: gadget: fsl_qe_udc: off by one in setup_received_handle()
From: Dan Carpenter <[email protected]>
commit 7442e6db5bdd0dce4615205508301f9b22e502d6 upstream.
The udc->eps[] array has USB_MAX_ENDPOINTS elements so > should be >=.
--- drivers/usb/gadget/udc/fsl_qe_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/fsl_qe_udc.c +1 -1
@@ -2053,7 +2053,7 @@ static void setup_received_handle(structstruct qe_ep *ep;if (wValue !=0 || wLength !=0 - || pipe >USB_MAX_ENDPOINTS ) + || pipe >=USB_MAX_ENDPOINTS )break ; ep = &udc->eps[pipe];
Patches currently in stable-queue which might be from [email protected] are
queue-4.7/usb-gadget-fsl_qe_udc-off-by-one-in-setup_received_handle.patch