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

Commit b4b39c98 authored by Steven Cahail's avatar Steven Cahail
Browse files

soc: qcom: glink: Clean up threads in TOC error handling in RPM Native xprt



In the RPM Native Transport, if an error is encountered when probing the
table of contents, the kthread structure is only partially cleaned up.
Later in the error handling, it's possible to access an invalid
structure, which can cause a crash.

Fully clean up the kthread structure if a TOC error is encountered.

Change-Id: I7ef6788364d181e7ad359f9e8b67da1e66a8b908
Signed-off-by: default avatarSteven Cahail <scahail@codeaurora.org>
parent da9777c8
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