Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfb838fd authored by Dhaval Patel's avatar Dhaval Patel Committed by Krishna Manikandan
Browse files

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: default avatarDhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: default avatarAbhinav Kumar <abhinavk@codeaurora.org>
parent fb2dcac5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment