summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorSamyukta Mogily <smogily@codeaurora.org>2017-07-11 12:39:04 +0530
committerSamyukta Mogily <smogily@codeaurora.org>2017-07-11 14:23:28 +0530
commit6467925a1c28b47040151e4a8652a0674ec88142 (patch)
tree4d0477b9ff7609d5fb78017526271ec0a5ffba6a /lib/mpi/mpi-cmp.c
parent1ccca4730ac0d54cee1e5a9f21e6a22cd8b5e561 (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: I8db9382dd184f1564176ab45355954dcde8a3ab3 Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions