summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2022-01-28 04:39:09 +0100
committerMarek Vasut <[email protected]>2022-02-11 01:30:43 +0100
commit1f54025d70c4c9e6ec8d82d8b69b0d66a7bbbdc1 (patch)
tree9bef96af751771bf32ddce1e9f80d35fd27b093a /scripts
parent96991e652f541323a03c5b7e075d54a117091618 (diff)
usb: gadget: ci: Avoid null pointer dereference
The ci_req->hw_buf can be NULL, test whether it is and if so, avoid accessing it. Else, the system may crash. Signed-off-by: Marek Vasut <[email protected]> Cc: Peter Chen <[email protected]> Cc: Li Jun <[email protected]> Cc: Peng Fan <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions