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

Skip to content
Commit b6e679fd authored by Piyush Dhyani's avatar Piyush Dhyani Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa3: Fix to prevent Integer Overflow



The value of `req->filter_spec_ex2_list_len`
is user input via ioctl and it's type is uint32,
so an integer overflow may occur. Which can result
in out of bound access in the following loop. Now
add changes to prevent Integer overflow.

Change-Id: Ia29b9ddc674e5dd3d5baf6623cf0a464c156d8f7
Signed-off-by: default avatarPiyush Dhyani <pdhyani@codeaurora.org>
parent 39c0e50d
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