diff options
| author | Rahul Sharma <sharah@codeaurora.org> | 2017-07-18 17:44:02 +0530 |
|---|---|---|
| committer | Andy Sun <bins@codeaurora.org> | 2017-07-25 17:39:36 +0800 |
| commit | 10f1e0528b162af282dd5f21f2e30f3335175c73 (patch) | |
| tree | 3d8d91525375e79f0b51228cdae3eede6b5c4741 /tools/perf/scripts/python | |
| parent | 26bb59b7f41080009fb5a6507b76017b39daea29 (diff) | |
msm: sensor: Fix for variable being de-referenced without proper check
Pointer from userspace is de-referenced before the command is checked.
This might cause a crash if the command being sent is not a valid command.
Hence changing the de-reference such that the pointer is accessed after
checking if a valid command is sent from the userspace.
Change-Id: Iba2e2da5b5adfa0323f8b7d56445af14acd58f84
CR fixed: 2053970
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
