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

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

qdss_bridge: fix use-after-free is on cdev_put



"drvdata->cdev" will be automatically freed when mhi_device
detach, this change use cdev_alloc to allocate cdev to avoid
this issue.

Change-Id: I08d2cd707ebf1768e0dadbdc5ca632f4598104f4
Signed-off-by: default avatarYuanfang Zhang <zhangyuanfang@codeaurora.org>
parent 85a898ac
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