summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorJohn Dias <joaodias@google.com>2018-06-22 12:27:38 -0700
committerPavankumar Kondeti <pkondeti@codeaurora.org>2018-08-08 09:09:01 +0530
commitbd4ac8e584ed7e2e79acc72afcdd63a4b6937327 (patch)
tree895128d62882e689195754722f01e3c28b49871d /include/linux/overflow.h
parent42570c93eca94652aa82f2c880004789606bbbe7 (diff)
sched: walt: fix out-of-bounds access
A computation in update_top_tasks() is indexing off the end of a top_tasks array. There's code to limit the index in the computation, but it's insufficient. Bug: 110529282 Change-Id: Idb5ff5e5800c014394bcb04638844bf1e057a40c Signed-off-by: John Dias <joaodias@google.com> [pkondeti@codeaurora.org: Backported to 4.4 for HMP scheduler] Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions