summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSamyukta Mogily <smogily@codeaurora.org>2017-06-23 14:29:20 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-26 19:58:49 -0700
commitbf5f992f6ff6a14151ffdb30b8840153047caa43 (patch)
tree0952559ddf93326880d0cf5e646ac18190efa3d4 /tools/perf/scripts/python
parent6f56b2a9c8e2ce69e2a98e52d5f1342b25cae44e (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