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

Skip to content
Commit 80282516 authored by VijayaKumar T M's avatar VijayaKumar T M Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Fix OOB issue in IR CUT driver



If user passes an aribitary command with _IOC_DIR(cmd) == _IOC_NONE,
"arg" should point to any arbitrary address.

Check for invalid command and return error.

CRs-Fixed: 2299560
Change-Id: Ic48c9526b914f97bfa76fda2d0b612e832cf91e9
Signed-off-by: default avatarVijayaKumar T M <vtmuni@codeaurora.org>
parent f1a61bc4
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