summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorDhaval Patel <pdhaval@codeaurora.org>2017-06-19 16:51:21 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-11 02:51:15 -0700
commit0667b6f91681357b59952daceac911b9f89eb634 (patch)
treeb2a30b5651b40f608ceea2d01ee2692c96ffbe54 /lib/mpi/mpi-bit.c
parent1cbd1cdf8491634cca7f06812dbe8d1906033656 (diff)
drm/msm/sde: remove out of bound access for qos lut parsing
QOS LUT dtsi entries use existing hardware parsing APIs but dos not increase the size of array. This causes out of bound access while reading u32 lut array entry. This patch fixes the array size and also adds checks to avoid future out of bound access. It also fixes the memory leak in qos lut parsing. Change-Id: I98de052d03e1bcfd79d15ab99ca41d7782e56682 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions