diff options
author | Qiushi Wu <wu000273@umn.edu> | 2020-05-22 23:06:25 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-05-25 11:09:43 +0300 |
commit | 44734a594196bf1d474212f38fe3a0d37a73278b (patch) | |
tree | 152fddaf4cc59fae8d118ee177eda40900010af9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e5b913496099527abe46e175e5e2c844367bded0 (diff) |
usb: gadget: fix potential double-free in m66592_probe.
m66592_free_request() is called under label "err_add_udc"
and "clean_up", and m66592->ep0_req is not set to NULL after
first free, leading to a double-free. Fix this issue by
setting m66592->ep0_req to NULL after the first free.
Fixes: 0f91349b89f3 ("usb: gadget: convert all users to the new udc infrastructure")
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions