Skip to content
Snippets Groups Projects
Commit 7a671fab authored by Prakruthi Deepak Heragu's avatar Prakruthi Deepak Heragu
Browse files

gunyah: gh_rm_drv: Avoid integer overflow for req_payload_size calculation


There could be a potential integer overflow while calculating the
response payload size. Because of this, incorrect memory size could be
copied or allocated. Add a check so that there is no overflow.

Change-Id: I876fbaa704ba51dc4a9e4eb4d3f7f0eaa749e06d
Signed-off-by: default avatarPrakruthi Deepak Heragu <pheragu@codeaurora.org>
parent fc463f94
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment