rv1126-uboot/drivers/usb/gadget
Christophe Kerello 088d8eb9be UPSTREAM: usb: gadget: composite: fix NULL pointer when a non standard request is received
In case usb configuration is unknown (cdev->config == NULL), non standard
request should not be processed.
Remove also the cdev->config check below which will never happen.

This issue was seen using ums feature.

Change-Id: I6930deeceadf0eff8e4bfbfb6fdfb254d47a4c83
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit d57ed4d9f2cb6abc9438104f321b4fe3bc829d57)
2020-01-07 17:24:49 +08:00
..
udc
Kconfig UPSTREAM: usb: gadget: USB_ETHER requires network support 2020-01-07 17:24:49 +08:00
Makefile
at91_udc.c
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
bcm_udc_otg.h
bcm_udc_otg_phy.c
ci_udc.c
ci_udc.h
composite.c UPSTREAM: usb: gadget: composite: fix NULL pointer when a non standard request is received 2020-01-07 17:24:49 +08:00
config.c
core.c
designware_udc.c
dwc2_udc_otg.c
dwc2_udc_otg_phy.c
dwc2_udc_otg_priv.h
dwc2_udc_otg_regs.h
dwc2_udc_otg_xfer_dma.c UPSTREAM: usb: dwc2: make casts of ep->dma_buf consistent 2020-01-07 17:24:46 +08:00
ep0.c
ep0.h
epautoconf.c
ether.c UPSTREAM: usb: gadget: usb_ether: Move settings to common 2020-01-07 17:24:45 +08:00
f_dfu.c
f_dfu.h
f_fastboot.c fastboot: delete command at-disable-unlock-vboot 2019-12-10 15:53:51 +08:00
f_mass_storage.c
f_rockusb.c
f_sdp.c UPSTREAM: usb: gadget: sdp: fix pointer cast warnings for 64bit archs 2020-01-07 17:24:47 +08:00
f_thor.c
f_thor.h
fotg210.c
g_dnl.c UPSTREAM: usb: gadget: Make g_dnl USB settings common 2020-01-07 17:24:45 +08:00
gadget_chips.h
ndis.h
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
rndis.c
rndis.h
storage_common.c
usbstring.c