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

Skip to content
Commit 9a069584 authored by Venkat Devarasetty's avatar Venkat Devarasetty Committed by Stephen Boyd
Browse files

msm: pm: avoid array overrun for msm_pm_sleep_modes



The array is not defined for the maximum possible size.
So it is possible that the array may overrun when it is
dereferenced using MSM_PM_MODE macro.

Add a dummy entry to make sure array is of max size.

Change-Id: I5783b0aa6c8295c5c5aabcb498700c6af1a3eba5
Signed-off-by: default avatarVenkat Devarasetty <vdevaras@codeaurora.org>
parent 8a85f9fe
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