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

Commit 8f8d50ed authored by Rishabh Jain's avatar Rishabh Jain
Browse files

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: default avatarRishabh Jain <risjai@codeaurora.org>
parent ad4a8914
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