diff options
| author | Lokesh Kumar Aakulu <lkumar@codeaurora.org> | 2014-04-21 17:53:54 +0530 |
|---|---|---|
| committer | Lokesh Kumar Aakulu <lkumar@codeaurora.org> | 2014-04-21 18:18:24 +0530 |
| commit | 34558a5fe8b63aed20c0c9b01bfe7167e8c747a4 (patch) | |
| tree | 48ed89a604d703de3e62534434fca36c0d7b7f3a /scripts/build-all.py | |
| parent | 24bb7c34fc20a04a7e5b531f0388d6b904b9837b (diff) | |
msm: camera: Avoid memory corruption by changing order of enum
SET_POSITION is added above MOVE_FOCUS which makes kernel prone to
memory corruption as MOVE_FOCUS enum is changed. when CFG_POSITION
is not present and userspace calls MOVE_FOCUS kernel misinterprets
MOVE_FOCUS as SET_POSITION and thus copies user structure to wrong
structure and makes memory to corrupt.
Change-Id: I335ee28d9af6ec25b00262d71701e503a06e21c5
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions
