WSL2-Linux-Kernel/drivers/usb/dwc3
Felipe Balbi 43cacb03aa usb: dwc3: core: avoid NULL pointer dereference
commit 3e10a2ce98 ("usb: dwc3: add hsphy_interface
property") introduced a possible NULL pointer
dereference because dwc->hsphy_interface can be
NULL.

In order to fix it, all we have to do is guard
strncmp() against a NULL argument.

Fixes: 3e10a2ce98 ("usb: dwc3: add hsphy_interface property")
Tested-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-07-06 12:34:08 -05:00
..
Kconfig
Makefile
core.c
core.h
debug.c
debug.h
debugfs.c
dwc3-exynos.c
dwc3-keystone.c
dwc3-omap.c
dwc3-pci.c
dwc3-qcom.c
dwc3-st.c
ep0.c
gadget.c
gadget.h
host.c
io.h
platform_data.h
trace.c
trace.h
ulpi.c