msm: camera: cdm: Secure freeing of request lists using locks
If release is called while processing of request, there is
a possibility of freeing the lists simultaneously in two
contexts due to interrupt and release ioctl call. This can
result into double free.
Securing the release of request lists in interrupt handler
and deinit using locks.
CRs-Fixed: 2641842
Change-Id: I248fa80a32836c3a89494072c55af852c3d518eb
Signed-off-by:
Rishabh Jain <risjai@codeaurora.org>
Loading
Please register or sign in to comment