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

Commit 600f6a1a authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian Committed by Dhoat Harpal
Browse files

soc: qcom: glink: Fix channel migration logic



Channel migration logic assumes that the remote & local channel contexts
are always different and exist in different transports. If the remote
& local channel contexts exist in the same transport, then it leads to
a use-after-free scenario.

Fix the channel migration logic by not freeing the channel context if
the local & remote side opens in the same initial transport.

CRs-Fixed: 1002362
Change-Id: I319a93c49022b08e5c33b561d982a751d5223a58
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent 77a6b6a1
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