Searched hist:"088 d8eb9be6001e4c1be13ee95c2beb044456c72" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | composite.c | 088d8eb9be6001e4c1be13ee95c2beb044456c72 Thu Mar 15 08:34:17 UTC 2018 Christophe Kerello <christophe.kerello@st.com> 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)
|