Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 894f4f83 authored by Yuanfang Zhang's avatar Yuanfang Zhang
Browse files

coresight: tmc-etr: fix null ptr dereferencing in usb_qdss_close



"sysfs_buf" will not be free while out_mode switching from mem to usb
and "usbch" will not be assigned in tmc_enable_etr_sink_sysfs, this
will cause passing null ptr to usb_qdss_close when switch out_mode
to mem.

Change-Id: Ibd8b5c78fb55231e34e16a9c32d43c2e771c0f30
Signed-off-by: default avatarYuanfang Zhang <zhangyuanfang@codeaurora.org>
parent 80fded8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment