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

Commit 9a2bcabc authored by Sriraj Hebbar's avatar Sriraj Hebbar Committed by Andy Sun
Browse files

msm: camera: Fix Use after free bug in msm_vb2.c



There is no syncronization between msm_vb2_get_buf
and msm_delete_stream which can lead to use after
free.
Fixed it by using read/write lock.

Change-Id: Icff5cd81b1a4e9c28f19936dec570751feab0ccf
Signed-off-by: default avatarManish Poddar <mpoddar@codeaurora.org>
Signed-off-by: default avatarTrishansh Bhardwaj <tbhardwa@codeaurora.org>
Signed-off-by: default avatarAndy Sun <bins@codeaurora.org>
parent 4941b7c6
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