summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-07-02 06:03:09 +0300
committerFelipe Balbi <balbi@ti.com>2015-07-06 20:34:08 +0300
commit43cacb03aabe62158d8e5da876054c7d48fc9963 (patch)
tree5ff1cca4d2cc79240eb078659dcd6beb9ccf07d0 /tools/perf/scripts/python/export-to-postgresql.py
parentcc1e204cb092da8495fe2c24bdc4543c259d6b34 (diff)
downloadlinux-43cacb03aabe62158d8e5da876054c7d48fc9963.tar.xz
usb: dwc3: core: avoid NULL pointer dereference
commit 3e10a2ce98d1 ("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: 3e10a2ce98d1 ("usb: dwc3: add hsphy_interface property") Tested-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions