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

Skip to content
Commit 716746da authored by Shilun Wan's avatar Shilun Wan Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: fix potential array index out of bounds



The num_encoders may exceed the max_encoders, so add one safe condition
to avoid this case.

Change-Id: I38454678f18cb26616ff82eb6f418f2fc0d22fa5
Signed-off-by: default avatarShilun Wan <swan@codeaurora.org>
parent 0b5e81a5
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