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

Skip to content
Commit a6c5d0d4 authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala
Browse files

sched/core: fix possible out-of-bounds access in updown_migrate_values()



In sched_update_updown_migrate_values(), while checking for elements
in cluster_cpus[], there is a possibility that we end up accessing
an element (i = MAX_CLUSTERS) which is out-of-bounds. Fix it by
updating the check.

Change-Id: Ia0587df9cf3add12475918171ea0578d99fa8782
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent fe96ce17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment