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

Skip to content
Commit 60210a6f authored by Raghavendra Ambadas's avatar Raghavendra Ambadas Committed by Krishna Chaitanya Parimi
Browse files

msm: mdss: Add bounds check in mdss_compat_overlay_ioctl



A bounds check has to be done on ovlist32->num_overlays variable
so as to prevent memory allocation of arbitrary size and avoid
subsequent undetermined behaviour.

Change-Id: Ic70726f1825040e793ef256195d236d77b392791
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
Signed-off-by: default avatarRaghavendra Ambadas <rambad@codeaurora.org>
Signed-off-by: default avatarKrishna Chaitanya Parimi <cparimi@codeaurora.org>
parent d5fc7ff6
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