diff options
| author | lixiang <lixiang@codeaurora.org> | 2021-10-11 20:07:52 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-10-13 23:53:43 -0700 |
| commit | 28b45f75d2ee6ef9a4023c1a7d4c38ff0d20e087 (patch) | |
| tree | cbb2a32ecf0d0f1708008ab3fd07c186cb9db58d /kernel_headers.py | |
| parent | 885caec7690f28757aa491ad8ef17084e2f9b25d (diff) | |
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: lixiang <lixiang@codeaurora.org>
Diffstat (limited to 'kernel_headers.py')
0 files changed, 0 insertions, 0 deletions
