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

Commit 80f8ee28 authored by Kasin Li's avatar Kasin Li Committed by Keming Zhang
Browse files

soc: hgsl: fix race of isync timeline when creating



In isync timeline create, after timeline object is attached into idr and
unlock the isync_timeline_lock, timeline object still is accessed. if
there is a release thread which try to release the same timeline object,
then maybe cause UAF issue.
Move the access operation into lock to avoid.

Change-Id: Ie2ff412b90924acb8f40e182f26c770b1f110a56
Signed-off-by: default avatarKasin Li <quic_donglil@quicinc.com>
parent 253ff030
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