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. CRs-Fixed: 2013052 Change-Id: I8e80d70ec866253aab8836457a28ae14175f5d61 Signed-off-by: Manish Poddar <mpoddar@codeaurora.org> Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org> Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org>
Loading
Please register or sign in to comment