diff options
| author | Abhishek Abbanaveni <aabban@codeaurora.org> | 2018-11-20 14:57:06 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-12-04 01:14:58 -0800 |
| commit | 4d15ce59f5f89eec92658e0c51453e7fce95aa77 (patch) | |
| tree | 9e6c244a6f70ec431abae85ab8e170c9887ae269 /lib/test-string_helpers.c | |
| parent | 8a475d4ba16373d30f8a57f8e2ee8f997dd00fbb (diff) | |
msm: camera: Fix for OOB security CR
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.
Change-Id: If60191a07bb80939af2d471a5acf1b17dd68aa58
CRs-Fixed: 2299567
Signed-off-by: Abhishek Abbanaveni <aabban@codeaurora.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
