summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorTrishansh Bhardwaj <tbhardwa@codeaurora.org>2017-10-06 12:48:29 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-10-25 23:26:45 -0700
commit62f069dcaadfe05fa96543896b386abef6da6d34 (patch)
tree6398648eb00a2309ed2ee46267869125ab83036f /lib/mpi/mpi-inline.h
parentf0ae27b1afe69c4eb757a39b9e12615113b94ced (diff)
msm: camera: Prevent use-after-free in v4l2_event_subscribe.
If same event is unsubscribed before v4l2_event_subscribe returned, Then function v4l2_event_subscribe have possibility use-after-free. Serialize msm_subscribe_event and msm_unsubscribe_event to prevent parallel invocation of v4l2_event_subscribe and v4l2_event_unsubscribe. Change-Id: I321fc66a9acbfb6e511b553be4cedffd26a558db Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions