summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorTrishansh Bhardwaj <tbhardwa@codeaurora.org>2017-12-22 11:53:26 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-01-09 01:04:35 -0800
commit1240d01e09fd4d3a351d3d14c5ebed2761c16ad5 (patch)
tree1d77a675d246ccd23ad7a1289677903321d45599 /lib/mpi/mpi-pow.c
parent55cc722ec6725f7547071a396606f6a04b9a75e8 (diff)
msm: camera: Prevent buffer overread in write_logsync.
If userspace issues write with string of length 21 or more then there is a chance that kernel will overread lbuf array. This change makes sure that lbuf is NULL terminated. Change-Id: I9ad6d5a607b2ff1f293512be9746ee554b076b10 Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions