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

Skip to content
Commit 62e68f0f authored by Qingqing Zhou's avatar Qingqing Zhou
Browse files

cpuss_dump: fix potential overflow for core_reg_num



In practise, core_reg_num should not overflow. But in
theory, this value can overflow and system_regs_input_index
also can overflow. So add overflow checks for these two.

Change-Id: I27e9544f3769c097d00d8660b7eb8c6cd29bb6de
Signed-off-by: default avatarQingqing Zhou <qqzhou@codeaurora.org>
parent 9da451ae
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