summaryrefslogtreecommitdiff
path: root/firmware/acenic
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-06-11 22:12:11 +0530
committerFelipe Balbi <balbi@ti.com>2015-07-06 12:34:08 -0500
commitb4c21f0bdd2c0cd5d5be1bb56f0a28dae5041eed (patch)
tree884d032fc4ab2bd382603b3970208544538298d1 /firmware/acenic
parent4088acf1e845aba35f30fb91dee10649edbd0e84 (diff)
usb: gadget: composite: Fix NULL pointer dereference
commit f563d230903210acc ("usb: gadget: composite: add req_match method to usb_function") accesses cdev->config even before set config is invoked causing a NULL pointer dereferencing error while running Lecroy Mass Storage Compliance test. Fix it here by accessing cdev->config only if it is non NULL. Fixes: commit f563d230903210acc ("usb: gadget: composite: add req_match method to usb_function"). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'firmware/acenic')
0 files changed, 0 insertions, 0 deletions