WSL2-Linux-Kernel/drivers/usb/gadget
Colin Ian King 3ff488ab60 usb: gadget: prevent potenial null pointer dereference on skb->len
An earlier fix partially fixed the null pointer dereference on skb->len
by moving the assignment of len after the check on skb being non-null,
however it failed to remove the erroneous dereference when assigning len.
Correctly fix this by removing the initialisation of len as was
originally intended.

Fixes: 70237dc8ef ("usb: gadget: function: f_eem: socket buffer may be NULL")
Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-09-06 10:44:03 +03:00
..
function usb: gadget: prevent potenial null pointer dereference on skb->len 2016-09-06 10:44:03 +03:00
legacy usb/gadget: fix gadgetfs aio support. 2016-08-11 15:09:47 +03:00
udc usb: gadget: udc: renesas-usb3: clear VBOUT bit in DRD_CON 2016-09-05 13:39:23 +03:00
Kconfig usb: gadget: storage: increase maximum storage num buffers 2016-06-20 12:30:03 +03:00
Makefile
composite.c usb: gadget: composite: Fix return value in case of error 2016-08-11 15:09:46 +03:00
config.c usb: Use (foo *) instead of (foo*). 2016-06-21 11:16:15 +03:00
configfs.c usb: gadget: configfs: add mutex lock before unregister gadget 2016-08-11 15:09:44 +03:00
configfs.h
epautoconf.c
functions.c
u_f.c
u_f.h
u_os_desc.h
usbstring.c