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

Skip to content
Commit 9e3b0a3d authored by Stephen Boyd's avatar Stephen Boyd Committed by Gerrit - the friendly Code Review server
Browse files

clk: qcom: gcc-sdm845: Terminate the divider table



Failure to terminate the table could lead to us reading off the
end of the array when changing rates. KASAN notices this and
complains:

BUG: KASAN: global-out-of-bounds in _round_up_table+0x30/0x78 at
addr ffffff90090922e
Read of size 4 by task kworker/0:1/39
Address belongs to variable post_div_table_fabia_even+0x24/0xc0

Change-Id: I9aa1b31093e6c97e81d4df7ac22b528893fd0a1a
CRs-Fixed: 2015655
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 3c71811c
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