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

Skip to content
Commit 770620ff authored by Vikash Garodia's avatar Vikash Garodia
Browse files

msm: vidc: change cvp buffer add sequence



[1] Due to race between cvp_register & cvp_unregister
on same cvp buffer lead to Use-After-Free issue.
[2] To address this issue, add cvp buffer into a list
inst->cvpbufs.list only after completing all required
steps on registration sequence.

CRs-Fixed: 2631383
Change-Id: If9f22d17e64f003528d5653f81404f3fcc6e88f5
Signed-off-by: default avatarVikash Garodia <vgarodia@codeaurora.org>
parent e7ffd910
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