diff options
| author | Samyukta Mogily <smogily@codeaurora.org> | 2017-06-23 14:29:20 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-06-26 19:58:49 -0700 |
| commit | bf5f992f6ff6a14151ffdb30b8840153047caa43 (patch) | |
| tree | 0952559ddf93326880d0cf5e646ac18190efa3d4 /tools/perf/scripts/python | |
| parent | 6f56b2a9c8e2ce69e2a98e52d5f1342b25cae44e (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: I731a015c952d131187a47a8d346fb6478fddeeb1
Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
