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

Commit c6797420 authored by lixiang's avatar lixiang Committed by Alexander Grund
Browse files

soc: qcom: hab: Add sanity check for payload_count



When handling memory import, payload_count is used for memory alloc
calculation. If the payload_count is too large, size will overflow
when creating page list.
Adding a sanity check for payload_count is necessary.

Change-Id: I6d60cea0c62bd29092852c55b766b77a94cb6e3b
Signed-off-by: default avatarlixiang <lixiang@codeaurora.org>
parent 76ac79b1
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