diff options
| author | Sriraj Hebbar <srirajh@qti.qualcomm.com> | 2017-06-22 10:35:18 +0530 |
|---|---|---|
| committer | Andy Sun <bins@codeaurora.org> | 2017-06-23 15:20:16 +0800 |
| commit | ae23cb5bb5a5222554aef6585d3428fe71edfe45 (patch) | |
| tree | 9eac7ed91c5e639ea32a4b15d731b571a319b89b /lib/mpi/mpi-inline.h | |
| parent | e53f2adc3f09410a189084f21051d5f2d55c1cdf (diff) | |
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: Manish Poddar <mpoddar@codeaurora.org>
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
